Stay organized with collections
Save and categorize content based on your preferences.
object ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab : ActivityResultContracts.PickVisualMedia.DefaultTab
DefaultTab
object used to open the picker in Photos tab (also the default if no value is provided).
Summary
Public properties |
open Int |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab\n============================================================\n\nArtifact: [androidx.activity:activity](/jetpack/androidx/releases/activity) \n[View Source](https://cs.android.com/search?q=file:androidx/activity/result/contract/ActivityResultContracts.kt+class:androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab) \nAdded in [1.10.0](/jetpack/androidx/releases/activity#1.10.0)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/activity/result/contract/ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab \"View this page in Java\")\n\n\n```\nobject ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab : ActivityResultContracts.PickVisualMedia.DefaultTab\n```\n\n\u003cbr /\u003e\n\n|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||\n| ↳ | [androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.DefaultTab](/reference/kotlin/androidx/activity/result/contract/ActivityResultContracts.PickVisualMedia.DefaultTab) ||\n| | ↳ | [androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab](/reference/kotlin/androidx/activity/result/contract/ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab) |\n\n*** ** * ** ***\n\n[DefaultTab](/reference/kotlin/androidx/activity/result/contract/ActivityResultContracts.PickVisualMedia.DefaultTab) object used to open the picker in Photos tab (also the default if no value is provided).\n\nSummary\n-------\n\n| ### Public properties |\n|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [value](/reference/kotlin/androidx/activity/result/contract/ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab#value()) |\n\nPublic properties\n-----------------\n\n### value\n\n```\nopen val value: Int\n```"]]