Intent.Action 屬性

定義

取得要執行的一般動作,例如 #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

屬性值

此意圖的動作或若無意圖則為零。

屬性

備註

取得要執行的一般動作,例如 #ACTION_VIEW。 該動作描述意圖中其餘資訊應如何被解讀——最重要的是,如何處理由 返回的資料 #getData

Java 文件 android.content.Intent.getAction()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱