다음을 통해 공유


MediaRoute2Info.ClientPackageName Property

Definition

Gets the package name of the app using the route.

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

Property Value

Attributes

Remarks

Gets the package name of the app using the route. Returns null if no apps are using this route.

Java documentation for android.media.MediaRoute2Info.getClientPackageName().

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