Taal

VibrationEffect.Builder Constructors

Definition

Overloads

Name Description
VibrationEffect.Builder()

Creates an empty Builder to compose a new VibrationEffect.

VibrationEffect.Builder(VibrationEffect)

Creates a Builder initialized with a copy of an existing VibrationEffect.

VibrationEffect.Builder()

Creates an empty Builder to compose a new VibrationEffect.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=37)]
public Builder();
Attributes

Remarks

Creates an empty Builder to compose a new VibrationEffect.

Android reference for android.os.VibrationEffect.Builder.Builder.

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

VibrationEffect.Builder(VibrationEffect)

Creates a Builder initialized with a copy of an existing VibrationEffect.

[Android.Runtime.Register(".ctor", "(Landroid/os/VibrationEffect;)V", "", ApiSince=37)]
public Builder(Android.OS.VibrationEffect effect);
[<Android.Runtime.Register(".ctor", "(Landroid/os/VibrationEffect;)V", "", ApiSince=37)>]
new Android.OS.VibrationEffect.Builder : Android.OS.VibrationEffect -> Android.OS.VibrationEffect.Builder

Parameters

effect
VibrationEffect

The VibrationEffect to initialize this builder with. This value cannot be null.

Attributes

Remarks

Creates a Builder initialized with a copy of an existing VibrationEffect.

Initializes the builder by copying the sequence of events from the provided effect.

Android reference for android.os.VibrationEffect.Builder.Builder.

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