Lingua

NfcAdapter.IsReaderModeAnnotationSupported Property

Definition

Returns whether the device supports setting annotation frames when enabling reader mode by passing an extras bundle that includes a #EXTRA_READER_TECH_A_POLLING_LOOP_ANNOTATION key to #enableReaderMode(Activity, ReaderCallback, int, Bundle).

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

Property Value

true if the mode is supported, false otherwise.

Attributes

Remarks

Returns whether the device supports setting annotation frames when enabling reader mode by passing an extras bundle that includes a EXTRA_READER_TECH_A_POLLING_LOOP_ANNOTATION key to enableReaderMode(Activity,ReaderCallback,int,Bundle). These annotations frames will be reported as unknown frames via android.nfc.cardemulation.HostApduService.processPollingFrames(List) on another Android device that has set enabled observe mode by passing true to setObserveModeEnabled(boolean).

Android reference for android.nfc.NfcAdapter.isReaderModeAnnotationSupported.

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