Intent.Action Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.