MediaRoute2Info.Id Property

Definition

Gets the id of the route.

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 route. The routes 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.MediaRoute2Info.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