Udostępnij za pośrednictwem


MediaRouter.UserRouteInfo.SetVolumeHandling(VolumeHandling) Method

Definition

Defines whether volume for the playback associated with this route is fixed (RouteInfo#PLAYBACK_VOLUME_FIXED) or can modified (RouteInfo#PLAYBACK_VOLUME_VARIABLE).

[Android.Runtime.Register("setVolumeHandling", "(I)V", "GetSetVolumeHandling_IHandler")]
public virtual void SetVolumeHandling (Android.Media.VolumeHandling volumeHandling);
[<Android.Runtime.Register("setVolumeHandling", "(I)V", "GetSetVolumeHandling_IHandler")>]
abstract member SetVolumeHandling : Android.Media.VolumeHandling -> unit
override this.SetVolumeHandling : Android.Media.VolumeHandling -> unit

Parameters

volumeHandling
VolumeHandling

volumeHandling

Attributes

Remarks

Defines whether volume for the playback associated with this route is fixed (RouteInfo#PLAYBACK_VOLUME_FIXED) or can modified (RouteInfo#PLAYBACK_VOLUME_VARIABLE).

Java documentation for android.media.MediaRouter.UserRouteInfo.setVolumeHandling(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