Context.UnregisterDeviceIdChangeListener(IIntConsumer) Method

Definition

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.

Java documentation for android.content.Context.unregisterDeviceIdChangeListener(java.util.function.IntConsumer).

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