Aracılığıyla paylaş


AudioManager.UnregisterMediaButtonEventReceiver Method

Definition

Overloads

UnregisterMediaButtonEventReceiver(PendingIntent)
Obsolete.

Unregister the receiver of MEDIA_BUTTON intents.

UnregisterMediaButtonEventReceiver(ComponentName)
Obsolete.

Unregister the receiver of MEDIA_BUTTON intents.

UnregisterMediaButtonEventReceiver(PendingIntent)

Caution

deprecated

Unregister the receiver of MEDIA_BUTTON intents.

[Android.Runtime.Register("unregisterMediaButtonEventReceiver", "(Landroid/app/PendingIntent;)V", "GetUnregisterMediaButtonEventReceiver_Landroid_app_PendingIntent_Handler")]
[System.Obsolete("deprecated")]
public virtual void UnregisterMediaButtonEventReceiver (Android.App.PendingIntent? eventReceiver);
[<Android.Runtime.Register("unregisterMediaButtonEventReceiver", "(Landroid/app/PendingIntent;)V", "GetUnregisterMediaButtonEventReceiver_Landroid_app_PendingIntent_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member UnregisterMediaButtonEventReceiver : Android.App.PendingIntent -> unit
override this.UnregisterMediaButtonEventReceiver : Android.App.PendingIntent -> unit

Parameters

eventReceiver
PendingIntent

same PendingIntent that was registed with #registerMediaButtonEventReceiver(PendingIntent).

Attributes

Remarks

Unregister the receiver of MEDIA_BUTTON intents.

This member is deprecated. Use MediaSession instead.

Java documentation for android.media.AudioManager.unregisterMediaButtonEventReceiver(android.app.PendingIntent).

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

UnregisterMediaButtonEventReceiver(ComponentName)

Caution

deprecated

Unregister the receiver of MEDIA_BUTTON intents.

[Android.Runtime.Register("unregisterMediaButtonEventReceiver", "(Landroid/content/ComponentName;)V", "GetUnregisterMediaButtonEventReceiver_Landroid_content_ComponentName_Handler")]
[System.Obsolete("deprecated")]
public virtual void UnregisterMediaButtonEventReceiver (Android.Content.ComponentName? eventReceiver);
[<Android.Runtime.Register("unregisterMediaButtonEventReceiver", "(Landroid/content/ComponentName;)V", "GetUnregisterMediaButtonEventReceiver_Landroid_content_ComponentName_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member UnregisterMediaButtonEventReceiver : Android.Content.ComponentName -> unit
override this.UnregisterMediaButtonEventReceiver : Android.Content.ComponentName -> unit

Parameters

eventReceiver
ComponentName

identifier of a android.content.BroadcastReceiver that was registered with #registerMediaButtonEventReceiver(ComponentName).

Attributes

Remarks

Unregister the receiver of MEDIA_BUTTON intents.

This member is deprecated. Use MediaSession instead.

Java documentation for android.media.AudioManager.unregisterMediaButtonEventReceiver(android.content.ComponentName).

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