Share via


RoutingSessionInfo.Id Property

Definition

Gets the id of the session.

public string Id { [Android.Runtime.Register("getId", "()Ljava/lang/String;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getId", "()Ljava/lang/String;", "", ApiSince=30)>]
member this.Id : string

Property Value

Attributes

Remarks

Gets the id of the session. The sessions which are given by MediaRouter2 will have unique IDs.

In order to ensure uniqueness in MediaRouter2 side, the value of this method can be different from what was set in MediaRoute2ProviderService.

Java documentation for android.media.RoutingSessionInfo.getId().

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