Share via


NfcAdapter.IsObserveModeSupported Property

Definition

Returns whether the device supports observe mode or not.

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

Property Value

true if the mode is supported, false otherwise.

Attributes

Remarks

Returns whether the device supports observe mode or not. When observe mode is enabled, the NFC hardware will listen to NFC readers, but not respond to them. While enabled, observed polling frames will be sent to the APDU service (see #setObserveModeEnabled(boolean). When observe mode is disabled (or if it's not supported), the NFC hardware will automatically respond to the reader and proceed with the transaction.

Java documentation for android.nfc.NfcAdapter.isObserveModeSupported().

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.

Applies to