IntentFilter.MatchAction(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將此過濾器與意圖的行動相匹配。
[Android.Runtime.Register("matchAction", "(Ljava/lang/String;)Z", "")]
public bool MatchAction(string? action);
[<Android.Runtime.Register("matchAction", "(Ljava/lang/String;)Z", "")>]
member this.MatchAction : string -> bool
參數
- action
- String
你想找的動作。
傳回
如果動作在篩選器中列出,那就是真。
- 屬性
備註
將此過濾器與意圖的行動相匹配。 如果篩選器沒有指定任何動作,匹配就會失敗。
Java 文件 android.content.IntentFilter.matchAction(java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。