VolumeProvider.VolumeControlId Property

Definition

Gets the RoutingController#getId() routing controller id of the RoutingController associated with this volume provider, or null if unset.

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 or null if it isn't set.

Attributes

Remarks

Gets the RoutingController#getId() routing controller id of the RoutingController associated with this volume provider, or null if unset.

This id allows mapping this volume provider to a routing controller, which provides information about the media route and allows controlling its volume.

Java documentation for android.media.VolumeProvider.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