Share via


Settings.ExtraAuthorities Field

Definition

Activity Extra: Limit available options in launched activity based on the given authority.

[Android.Runtime.Register("EXTRA_AUTHORITIES")]
public const string ExtraAuthorities;
[<Android.Runtime.Register("EXTRA_AUTHORITIES")>]
val mutable ExtraAuthorities : string

Field Value

Attributes

Remarks

Activity Extra: Limit available options in launched activity based on the given authority.

This can be passed as an extra field in an Activity Intent with one or more syncable content provider's authorities as a String[]. This field is used by some intents to alter the behavior of the called activity.

Example: The #ACTION_ADD_ACCOUNT intent restricts the account types available based on the authority given.

Java documentation for android.provider.Settings.EXTRA_AUTHORITIES.

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