Android.Nfc.NfcAdapter.IsEnabled Property
Return true if this NFC Adapter has any features enabled.

Syntax

[get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")]
public bool IsEnabled { get; }

See Also

Android.Provider.Settings.ActionNfcSettings

Value

Documentation for this section has not yet been entered.

Remarks

Return true if this NFC Adapter has any features enabled.

If this method returns false, the NFC hardware is guaranteed not to generate or respond to any NFC communication over its NFC radio.

Applications can use this to check if NFC is enabled. Applications can request Settings UI allowing the user to toggle NFC using:

java Example

startActivity(new Intent(Settings.ACTION_NFC_SETTINGS))

[Android Documentation]

Requirements

Namespace: Android.Nfc
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0