Condividi tramite


ContextWrapper.UnregisterReceiver(BroadcastReceiver) Method

Definition

Unregister a previously registered BroadcastReceiver.

[Android.Runtime.Register("unregisterReceiver", "(Landroid/content/BroadcastReceiver;)V", "GetUnregisterReceiver_Landroid_content_BroadcastReceiver_Handler")]
public override void UnregisterReceiver (Android.Content.BroadcastReceiver? receiver);
[<Android.Runtime.Register("unregisterReceiver", "(Landroid/content/BroadcastReceiver;)V", "GetUnregisterReceiver_Landroid_content_BroadcastReceiver_Handler")>]
override this.UnregisterReceiver : Android.Content.BroadcastReceiver -> unit

Parameters

receiver
BroadcastReceiver

The BroadcastReceiver to unregister.

Attributes

Remarks

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