MockContext.UnregisterReceiver(BroadcastReceiver) MockContext.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);
override this.UnregisterReceiver : Android.Content.BroadcastReceiver -> unit

Parameters

receiver
BroadcastReceiver BroadcastReceiver

The BroadcastReceiver to unregister.

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