MediaController.PlaybackInfo.VolumeControlId Property

Definition

Get the routing controller ID for this session, as indicated by VolumeProvider#getVolumeControlId().

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

Property Value

the volume control ID for this session or null if it uses local playback or not set.

Attributes

Remarks

Get the routing controller ID for this session, as indicated by VolumeProvider#getVolumeControlId(). Returns null if unset, or if #getPlaybackType() is #PLAYBACK_TYPE_LOCAL.

Java documentation for android.media.session.MediaController.PlaybackInfo.getVolumeControlId().

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