Aracılığıyla paylaş


Ringtone.Volume Property

Definition

Returns the volume scalar set on this player. -or- Sets the volume on this player.

public virtual float Volume { [Android.Runtime.Register("getVolume", "()F", "GetGetVolumeHandler", ApiSince=28)] get; [Android.Runtime.Register("setVolume", "(F)V", "GetSetVolume_FHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getVolume", "()F", "GetGetVolumeHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setVolume", "(F)V", "GetSetVolume_FHandler", ApiSince=28)>]
member this.Volume : single with get, set

Property Value

a value between 0.0f and 1.0f.

Attributes

Remarks

Property getter documentation:

Returns the volume scalar set on this player.

Java documentation for android.media.Ringtone.getVolume().

Property setter documentation:

Sets the volume on this player.

Java documentation for android.media.Ringtone.setVolume(float).

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