Compartilhar via


Intent.ExtraChooserTargets Field

Definition

A android.service.chooser.ChooserTarget ChooserTarget[] for #ACTION_CHOOSER describing additional high-priority deep-link targets for the chooser to present to the user.

[Android.Runtime.Register("EXTRA_CHOOSER_TARGETS", ApiSince=24)]
public const string ExtraChooserTargets;
[<Android.Runtime.Register("EXTRA_CHOOSER_TARGETS", ApiSince=24)>]
val mutable ExtraChooserTargets : string

Field Value

Implements

Attributes

Remarks

A android.service.chooser.ChooserTarget ChooserTarget[] for #ACTION_CHOOSER describing additional high-priority deep-link targets for the chooser to present to the user.

Targets provided in this way will be presented inline with all other targets provided by services from other apps. They will be prioritized before other service targets, but after those targets provided by sources that the user has manually pinned to the front. You can provide up to two targets on this extra (the limit of two targets starts in Android 10).

Java documentation for android.content.Intent.EXTRA_CHOOSER_TARGETS.

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