Language

MediaSession.CurrentControllerInfo Property

Definition

Gets the controller information who sent the current request.

public Android.Media.Session.MediaSessionManager.RemoteUserInfo CurrentControllerInfo { [Android.Runtime.Register("getCurrentControllerInfo", "()Landroid/media/session/MediaSessionManager$RemoteUserInfo;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getCurrentControllerInfo", "()Landroid/media/session/MediaSessionManager$RemoteUserInfo;", "", ApiSince=28)>]
member this.CurrentControllerInfo : Android.Media.Session.MediaSessionManager.RemoteUserInfo

Property Value

Information about the controller that sent the request currently being handled. This property can be read only during a MediaSession.Callback request callback; otherwise, the getter throws IllegalStateException.

Attributes

Remarks

Java documentation for android.media.session.MediaSession.getCurrentControllerInfo().

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