次の方法で共有


MediaRouter.UserRouteInfo.SetVolume(Int32) Method

Definition

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

[Android.Runtime.Register("setVolume", "(I)V", "GetSetVolume_IHandler")]
public virtual void SetVolume (int volume);
[<Android.Runtime.Register("setVolume", "(I)V", "GetSetVolume_IHandler")>]
abstract member SetVolume : int -> unit
override this.SetVolume : int -> unit

Parameters

volume
Int32

volume

Attributes

Remarks

Defines at what volume 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.setVolume(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