Callback
Callback()
Callback(IntPtr, JniHandleOwnership)
JniPeerMembers
ThresholdClass
ThresholdType
OnCommand(String, Bundle, ResultReceiver)
OnCustomAction(String, Bundle)
OnFastForward()
OnMediaButtonEvent(Intent)
OnPause()
OnPlay()
OnPlayFromMediaId(String, Bundle)
OnPlayFromSearch(String, Bundle)
OnPlayFromUri(Uri, Bundle)
OnPrepare()
OnPrepareFromMediaId(String, Bundle)
OnPrepareFromSearch(String, Bundle)
OnPrepareFromUri(Uri, Bundle)
OnRewind()
OnSeekTo(Int64)
OnSetPlaybackSpeed(Single)
OnSetRating(Rating)
OnSkipToNext()
OnSkipToPrevious()
OnSkipToQueueItem(Int64)
OnStop()
net9.0-android34.0
namespace Android.Media.Session
{
[Register("android/media/session/MediaSession", DoNotGenerateAcw = true)]
public sealed class MediaSession : Object
{
[Register("android/media/session/MediaSession$Callback", DoNotGenerateAcw = true)]
public abstract class Callback : Object
{
[Register("onCommand", "(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/ResultReceiver;)V", "GetOnCommand_Ljava_lang_String_Landroid_os_Bundle_Landroid_os_ResultReceiver_Handler")]
public virtual void OnCommand(string! command, Bundle? args, ResultReceiver? cb);
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API