語言

NfcAdapter.IsTagIntentAllowed 屬性

定義

檢查使用者是否已停用呼叫應用程式接收 NFC 標籤意圖。

public bool IsTagIntentAllowed { [Android.Runtime.Register("isTagIntentAllowed", "()Z", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("isTagIntentAllowed", "()Z", "", ApiSince=36)>]
member this.IsTagIntentAllowed : bool

屬性值

true 如果某應用程式不在列表中,或是以標記 true標記加入清單的。 否則會傳回 false。 若isTagIntentAppPreferenceSupported返回 false,則 也會回傳true。

屬性

備註

檢查使用者是否已停用呼叫應用程式接收 NFC 標籤意圖。

此方法檢查呼叫者套件名稱是否不在使用者的禁用名單中,或是使用者明確允許的。

Java 文件 android.nfc.NfcAdapter.isTagIntentAllowed()。

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

適用於