Context.UnregisterDeviceIdChangeListener(IIntConsumer) 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.
Removes a device ID changed listener from the Context.
[Android.Runtime.Register("unregisterDeviceIdChangeListener", "(Ljava/util/function/IntConsumer;)V", "GetUnregisterDeviceIdChangeListener_Ljava_util_function_IntConsumer_Handler", ApiSince=34)]
public virtual void UnregisterDeviceIdChangeListener (Java.Util.Functions.IIntConsumer listener);
[<Android.Runtime.Register("unregisterDeviceIdChangeListener", "(Ljava/util/function/IntConsumer;)V", "GetUnregisterDeviceIdChangeListener_Ljava_util_function_IntConsumer_Handler", ApiSince=34)>]
abstract member UnregisterDeviceIdChangeListener : Java.Util.Functions.IIntConsumer -> unit
override this.UnregisterDeviceIdChangeListener : Java.Util.Functions.IIntConsumer -> unit
Parameters
- listener
- IIntConsumer
The Consumer
to remove.
- Attributes
Remarks
Removes a device ID changed listener from the Context. It's a no-op if the listener is not already registered.
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.