Language

RoutingSessionInfo.Builder.SetVolumeHandling(Int32) Method

Definition

Sets the session's volume handling.

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

Parameters

volumeHandling
Int32

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

Returns

Attributes

Remarks

Sets the session's volume handling. MediaRoute2Info.PLAYBACK_VOLUME_FIXED or MediaRoute2Info.PLAYBACK_VOLUME_VARIABLE.

Android reference for android.media.RoutingSessionInfo.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