Language

MediaRoute2Info.Builder.SetVolumeHandling(Int32) Method

Definition

Sets the route's volume handling.

[Android.Runtime.Register("setVolumeHandling", "(I)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)]
public Android.Media.MediaRoute2Info.Builder SetVolumeHandling(int volumeHandling);
[<Android.Runtime.Register("setVolumeHandling", "(I)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)>]
member this.SetVolumeHandling : int -> Android.Media.MediaRoute2Info.Builder

Parameters

volumeHandling
Int32

Value is one of the following: MediaRoute2Info.PLAYBACK_VOLUME_FIXED MediaRoute2Info.PLAYBACK_VOLUME_VARIABLE

Returns

Attributes

Remarks

Sets the route's volume handling.

Android reference for android.media.MediaRoute2Info.Builder.setVolumeHandling.

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