MediaController
Callback
PlaybackInfo
TransportControls
MediaController(Context, Token)
Extras
Flags
JniPeerMembers
Metadata
PackageName
PlaybackState
Queue
QueueTitle
QueueTitleFormatted
RatingType
SessionActivity
SessionInfo
SessionToken
Tag
ThresholdClass
ThresholdType
AdjustVolume(Adjust, AudioFlags)
DispatchMediaButtonEvent(KeyEvent)
GetPlaybackInfo()
GetTransportControls()
RegisterCallback(Callback)
RegisterCallback(Callback, Handler)
SendCommand(String, Bundle, ResultReceiver)
SetVolumeTo(Int32, AudioFlags)
UnregisterCallback(Callback)
net9.0-android34.0
namespace Android.Media.Session
{
[Register("android/media/session/MediaController", DoNotGenerateAcw = true)]
public sealed class MediaController : Object
{
[Register("setVolumeTo", "(II)V", "")]
public void SetVolumeTo(int value, [GeneratedEnum] AudioFlags flags);
}
}
.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