共用方式為


Intent.ExtraChooserCustomActions Field

Definition

A Parcelable[] of ChooserAction objects to provide the Android Sharesheet with app-specific actions to be presented to the user when invoking #ACTION_CHOOSER.

[Android.Runtime.Register("EXTRA_CHOOSER_CUSTOM_ACTIONS", ApiSince=34)]
public const string ExtraChooserCustomActions;
[<Android.Runtime.Register("EXTRA_CHOOSER_CUSTOM_ACTIONS", ApiSince=34)>]
val mutable ExtraChooserCustomActions : string

Field Value

Implements

Attributes

Remarks

A Parcelable[] of ChooserAction objects to provide the Android Sharesheet with app-specific actions to be presented to the user when invoking #ACTION_CHOOSER. You can provide as many as five custom actions.

Java documentation for android.content.Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS.

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