次の方法で共有


MediaController.PackageName Property

Definition

Get the session owner's package name.

public string? PackageName { [Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "")>]
member this.PackageName : string

Property Value

The package name of the session owner.

Attributes

Remarks

Get the session owner's package name.

Java documentation for android.media.session.MediaController.getPackageName().

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