CardEmulation.INfcEventCallback.OnObserveModeStateChanged(Boolean) Method
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.
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.
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.