Language

CardEmulation.INfcEventCallback.OnObserveModeStateChanged(Boolean) Method

Definition

This method is called when observe mode has been enabled or disabled.

[Android.Runtime.Register("onObserveModeStateChanged", "(Z)V", "GetOnObserveModeStateChanged_ZHandler:Android.Nfc.CardEmulators.CardEmulation/INfcEventCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public virtual void OnObserveModeStateChanged(bool isEnabled);
[<Android.Runtime.Register("onObserveModeStateChanged", "(Z)V", "GetOnObserveModeStateChanged_ZHandler:Android.Nfc.CardEmulators.CardEmulation/INfcEventCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnObserveModeStateChanged : bool -> unit
override this.OnObserveModeStateChanged : bool -> unit

Parameters

isEnabled
Boolean

true if observe mode has been enabled, false if it has been disabled

Attributes

Remarks

This method is called when observe mode has been enabled or disabled.

Android reference for android.nfc.cardemulation.CardEmulation.NfcEventCallback.onObserveModeStateChanged.

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