Android.Widget.PhotoPicker Namespace

Provides Photo Picker selection and appearance options, and interfaces for embedded Photo Picker sessions.

Classes

Name Description
EmbeddedPhotoPickerFeatureInfo

An immutable parcel to carry information regarding desired features of caller for a given session.

EmbeddedPhotoPickerFeatureInfo.Builder

Builds immutable feature information for an embedded Photo Picker session.

EmbeddedPhotoPickerFeatureInfo.InterfaceConsts

Provides the parcelable interface constants inherited by EmbeddedPhotoPickerFeatureInfo.

EmbeddedPhotoPickerProviderFactory

Interface to get instance of EmbeddedPhotoPickerProvider class to request a new EmbeddedPhotoPickerSession.

EmbeddedPhotoPickerUiCustomizationParams

Defines UI customization options specific to the embedded Photo Picker interface.

EmbeddedPhotoPickerUiCustomizationParams.Builder

Builder class for EmbeddedPhotoPickerUiCustomizationParams.

EmbeddedPhotoPickerUiCustomizationParams.InterfaceConsts

Provides the parcelable interface constants inherited by EmbeddedPhotoPickerUiCustomizationParams.

PhotoPickerSelectionParams

An immutable parcel that carries constraints to be applied to media items displayed in the Photo Picker.

PhotoPickerSelectionParams.Builder

A builder class used to construct and validate an immutable PhotoPickerSelectionParams object.

PhotoPickerSelectionParams.InterfaceConsts

Provides the parcelable interface constants inherited by PhotoPickerSelectionParams.

PhotoPickerUiCustomizationParams

Defines UI customization options for the system's Photo Picker interface.

PhotoPickerUiCustomizationParams.Builder

A builder class used to construct and validate an immutable PhotoPickerUiCustomizationParams object.

PhotoPickerUiCustomizationParams.InterfaceConsts

Provides the parcelable interface constants inherited by PhotoPickerUiCustomizationParams.

Interfaces

Name Description
IEmbeddedPhotoPickerClient

Callback to define mechanisms by which can apps can receive notifications about different events from embedded photopicker for the corresponding Session (EmbeddedPhotoPickerSession).

IEmbeddedPhotoPickerProvider

This interface provides an api that callers can use to get a session of embedded PhotoPicker (EmbeddedPhotoPickerSession).

IEmbeddedPhotoPickerSession

Class that holds the embedded photopicker view wrapped in SurfaceControlViewHost.SurfacePackage that can be embedded by the caller in their view hierarchy by placing it in a SurfaceView via its SurfaceView#setChildSurfacePackage api.

Enums

Name Description
AspectRatio

Specifies the width-to-height ratio of thumbnails in the Photo Picker media grid.

EmbeddedPhotoPickerLaunchTab

Specifies the tab to display when the embedded Photo Picker opens.

Remarks

Use the parameter builders to configure media selection constraints and thumbnail appearance. The embedded picker interfaces provide session creation, selection callbacks, and session control.

Android reference for the Photo Picker package.