Android.Content.Context.RemoveStickyBroadcast Method

Syntax

[Android.Runtime.Register("removeStickyBroadcast", "(Landroid/content/Intent;)V", "GetRemoveStickyBroadcast_Landroid_content_Intent_Handler")]
public abstract void RemoveStickyBroadcast (Intent intent)

See Also

Context.SendStickyBroadcast(Intent)

Parameters

intent
The Intent that was previously broadcast.

Remarks

Remove the data previously sent with Context.SendStickyBroadcast(Intent), so that it is as if the sticky broadcast had never happened.

You must hold the NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BROADCAST_STICKY permission in order to use this API. If you do not hold that permission, Java.Lang.SecurityException will be thrown.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1