Language

VolumeShaper.Configuration.Builder.ScaleToStartVolume(Single) Method

Definition

Scale the curve start volume to a target value.

[Android.Runtime.Register("scaleToStartVolume", "(F)Landroid/media/VolumeShaper$Configuration$Builder;", "", ApiSince=26)]
public Android.Media.VolumeShaper.Configuration.Builder ScaleToStartVolume(float volume);
[<Android.Runtime.Register("scaleToStartVolume", "(F)Landroid/media/VolumeShaper$Configuration$Builder;", "", ApiSince=26)>]
member this.ScaleToStartVolume : single -> Android.Media.VolumeShaper.Configuration.Builder

Parameters

volume
Single

the target start volume to use.

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

Scale the curve start volume to a target value. Keeps the end volume the same. This works best if the volume curve is monotonic.

Android reference for android.media.VolumeShaper.Configuration.Builder.scaleToStartVolume.

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