Intent.Action Property

Definition

Retrieve the general action to be performed, such as #ACTION_VIEW.

public virtual string? Action { [Android.Runtime.Register("getAction", "()Ljava/lang/String;", "GetGetActionHandler")] get; }
[<get: Android.Runtime.Register("getAction", "()Ljava/lang/String;", "GetGetActionHandler")>]
member this.Action : string

Property Value

The action of this intent or null if none is specified.

Attributes

Remarks

Retrieve the general action to be performed, such as #ACTION_VIEW. The action describes the general way the rest of the information in the intent should be interpreted -- most importantly, what to do with the data returned by #getData.

Java documentation for android.content.Intent.getAction().

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

See also