Język

EmbeddedPhotoPickerFeatureInfo.Builder.SetLaunchTab Method

Definition

Specifies the default tab to display when the embedded PhotoPicker is first launched.

[Android.Runtime.Register("setLaunchTab", "(I)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=37)]
public Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder SetLaunchTab(Android.Widget.PhotoPicker.EmbeddedPhotoPickerLaunchTab launchTab);
[<Android.Runtime.Register("setLaunchTab", "(I)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=37)>]
member this.SetLaunchTab : Android.Widget.PhotoPicker.EmbeddedPhotoPickerLaunchTab -> Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder

Parameters

launchTab
EmbeddedPhotoPickerLaunchTab

One of the values listed in the remarks, which specifies the start destination for launching the picker. Value is one of the following: Unset; Albums; Images

Returns

A builder with the requested initial tab configured.

Attributes

Remarks

Specifies the default tab to display when the embedded PhotoPicker is first launched.

The app can choose to launch to a specific tab in the embedded photopicker. This can be the Photos tab (which will be the default tab if not specified by the app) or the Collections tab. In order to do so, the input value should be one of the following values:

  • Images for the Photos tab.:
  • Albums for the Collections tab.:
  • Unset for the default tab.:

The value of this parameter must be set in case the app wants to launch to a particular start destination.

Android reference for android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder.setLaunchTab.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to