Android.Service.Chooser Namespace

Provides Android Sharesheet actions and results, interactive chooser sessions, and services that supply direct share targets.

Classes

Name Description
ChooserAction

A ChooserAction is an app-defined action that can be provided to the Android Sharesheet to be shown to the user when android.content.Intent#ACTION_CHOOSER is invoked.

ChooserAction.Builder

Builder class for ChooserAction objects

ChooserAction.InterfaceConsts

Contains parcelable interface constants exposed through the chooser action binding.

ChooserManager

Manages the creation, tracking, and retrieval of chooser sessions.

ChooserResult

An event reported to a supplied [IntentSender] by the system chooser when an activity is selected or other actions are taken to complete the session.

ChooserResult.InterfaceConsts

Contains parcelable interface constants exposed through the chooser result binding.

ChooserSession

A class that represents an interactive Chooser session.

ChooserSession.BoundsChangedEventArgs

Provides the chooser window bounds reported to a session listener.

ChooserSession.StateChangedEventArgs

Provides the lifecycle state reported to a chooser session listener.

ChooserSessionToken

An opaque token that serves as a Chooser session identifier.

ChooserSessionToken.InterfaceConsts

Contains parcelable interface constants exposed through the chooser session token binding.

ChooserTarget

A ChooserTarget represents a deep-link into an application as returned by a android.service.chooser.ChooserTargetService.

ChooserTarget.InterfaceConsts

Contains parcelable interface constants exposed through the chooser target binding.

ChooserTargetService

A service that receives calls from the system when the user is asked to choose a target for an intent explicitly by another app.

Interfaces

Name Description
ChooserSession.IStateListener

A callback interface for Chooser session state updates.

IAdditionalContentContract

Specifies constants used by Chooser when interacting with the additional content provider, see android.content.Intent#EXTRA_CHOOSER_ADDITIONAL_CONTENT_URI.

IAdditionalContentContract.IColumns

Defines column names for content offered to the chooser by an additional content provider.

IAdditionalContentContract.ICursorExtraKeys

Constants for android.database.Cursor#getExtras keys.

IAdditionalContentContract.IMethodNames

Constants for method names used with android.content.ContentResolver#call method.

Enums

Name Description
ChooserResultValue

Identifies the action that completed a chooser session.

ChooserSessionState

Identifies the lifecycle state of an interactive chooser session.