Partager via


MediaRouter.UserRouteInfo.SetVolumeMax(Int32) Method

Definition

Defines the maximum volume at which the playback associated with this route is performed (for user feedback purposes).

[Android.Runtime.Register("setVolumeMax", "(I)V", "GetSetVolumeMax_IHandler")]
public virtual void SetVolumeMax (int volumeMax);
[<Android.Runtime.Register("setVolumeMax", "(I)V", "GetSetVolumeMax_IHandler")>]
abstract member SetVolumeMax : int -> unit
override this.SetVolumeMax : int -> unit

Parameters

volumeMax
Int32

volumeMax

Attributes

Remarks

Defines the maximum volume at which the playback associated with this route is performed (for user feedback purposes). This information is only used when the playback is not local.

Java documentation for android.media.MediaRouter.UserRouteInfo.setVolumeMax(int).

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