Language

VolumeShaper.Configuration.Builder.SetDuration(Int64) Method

Definition

Sets the VolumeShaper duration in milliseconds.

[Android.Runtime.Register("setDuration", "(J)Landroid/media/VolumeShaper$Configuration$Builder;", "", ApiSince=26)]
public Android.Media.VolumeShaper.Configuration.Builder SetDuration(long durationMillis);
[<Android.Runtime.Register("setDuration", "(J)Landroid/media/VolumeShaper$Configuration$Builder;", "", ApiSince=26)>]
member this.SetDuration : int64 -> Android.Media.VolumeShaper.Configuration.Builder

Parameters

durationMillis
Int64

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

Sets the VolumeShaper duration in milliseconds. If omitted, the default duration is 1 second.

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

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