Taal

VibrationEffect.Envelope.Create Method

Definition

Overloads

Name Description
Create(VibrationEffect+BasicEnvelopeBuilder)

Creates a new haptic Envelope from the provided BasicEnvelopeBuilder.

Create(VibrationEffect+WaveformEnvelopeBuilder)

Creates a new haptic Envelope from the provided WaveformEnvelopeBuilder.

Create(VibrationEffect+BasicEnvelopeBuilder)

Creates a new haptic Envelope from the provided BasicEnvelopeBuilder.

[Android.Runtime.Register("create", "(Landroid/os/VibrationEffect$BasicEnvelopeBuilder;)Landroid/os/VibrationEffect$Envelope;", "", ApiSince=37)]
public static Android.OS.VibrationEffect.Envelope Create(Android.OS.VibrationEffect.BasicEnvelopeBuilder builder);
[<Android.Runtime.Register("create", "(Landroid/os/VibrationEffect$BasicEnvelopeBuilder;)Landroid/os/VibrationEffect$Envelope;", "", ApiSince=37)>]
static member Create : Android.OS.VibrationEffect.BasicEnvelopeBuilder -> Android.OS.VibrationEffect.Envelope

Parameters

builder
VibrationEffect.BasicEnvelopeBuilder

The builder used to define the envelope's basic parameters. This value cannot be null.

Returns

The created Envelope. This value cannot be null.

Attributes

Remarks

Creates a new haptic Envelope from the provided BasicEnvelopeBuilder.

Android reference for android.os.VibrationEffect.Envelope.create.

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

Create(VibrationEffect+WaveformEnvelopeBuilder)

Creates a new haptic Envelope from the provided WaveformEnvelopeBuilder.

[Android.Runtime.Register("create", "(Landroid/os/VibrationEffect$WaveformEnvelopeBuilder;)Landroid/os/VibrationEffect$Envelope;", "", ApiSince=37)]
public static Android.OS.VibrationEffect.Envelope Create(Android.OS.VibrationEffect.WaveformEnvelopeBuilder builder);
[<Android.Runtime.Register("create", "(Landroid/os/VibrationEffect$WaveformEnvelopeBuilder;)Landroid/os/VibrationEffect$Envelope;", "", ApiSince=37)>]
static member Create : Android.OS.VibrationEffect.WaveformEnvelopeBuilder -> Android.OS.VibrationEffect.Envelope

Parameters

builder
VibrationEffect.WaveformEnvelopeBuilder

The builder used to define the envelope's waveform. This value cannot be null.

Returns

The created Envelope. This value cannot be null.

Attributes

Remarks

Creates a new haptic Envelope from the provided WaveformEnvelopeBuilder.

Note: Envelopes created from WaveformEnvelopeBuilder do not support haptics fallback.

Android reference for android.os.VibrationEffect.Envelope.create.

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