Register a component to be the sole receiver of MEDIA_BUTTON intents.
Syntax
[Android.Runtime.Register("registerMediaButtonEventReceiver", "(Landroid/content/ComponentName;)V", "GetRegisterMediaButtonEventReceiver_Landroid_content_ComponentName_Handler")]
[System.Obsolete("deprecated")]
public virtual
void RegisterMediaButtonEventReceiver (
Android.Content.ComponentName eventReceiver)
Parameters
- eventReceiver
- identifier of a Android.Content.BroadcastReceiver
that will receive the media button intent. This broadcast receiver must be declared
in the application manifest. The package of the component must match that of
the context you're registering from.
Remarks
Requirements
Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8