Udostępnij za pośrednictwem


MediaRoute2ProviderService.GetSessionInfo(String) Method

Definition

Gets information of the session with the given id.

[Android.Runtime.Register("getSessionInfo", "(Ljava/lang/String;)Landroid/media/RoutingSessionInfo;", "", ApiSince=30)]
public Android.Media.RoutingSessionInfo? GetSessionInfo (string sessionId);
[<Android.Runtime.Register("getSessionInfo", "(Ljava/lang/String;)Landroid/media/RoutingSessionInfo;", "", ApiSince=30)>]
member this.GetSessionInfo : string -> Android.Media.RoutingSessionInfo

Parameters

sessionId
String

the ID of the session

Returns

information of the session with the given id. null if the session is released or ID is not valid.

Attributes

Remarks

Gets information of the session with the given id.

Java documentation for android.media.MediaRoute2ProviderService.getSessionInfo(java.lang.String).

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