NfcAdapter.IsTagIntentAllowed 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.
Checks whether the user has disabled the calling app from receiving NFC tag intents.
public bool IsTagIntentAllowed { [Android.Runtime.Register("isTagIntentAllowed", "()Z", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("isTagIntentAllowed", "()Z", "", ApiSince=36)>]
member this.IsTagIntentAllowed : bool
Property Value
true
if an app is either not present in the list or is added to the list
with the flag set to true
. Otherwise, it returns false
.
It also returns true
if isTagIntentAppPreferenceSupported
returns
false
.
- Attributes
Remarks
Checks whether the user has disabled the calling app from receiving NFC tag intents.
This method checks whether the caller package name is either not present in the user disabled list or is explicitly allowed by the user.
Java documentation for android.nfc.NfcAdapter.isTagIntentAllowed()
.
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.