Freigeben über


CombinedVibration.CreateParallel(VibrationEffect) Method

Definition

Create a vibration that plays a single effect in parallel on all vibrators.

[Android.Runtime.Register("createParallel", "(Landroid/os/VibrationEffect;)Landroid/os/CombinedVibration;", "", ApiSince=31)]
public static Android.OS.CombinedVibration CreateParallel (Android.OS.VibrationEffect effect);
[<Android.Runtime.Register("createParallel", "(Landroid/os/VibrationEffect;)Landroid/os/CombinedVibration;", "", ApiSince=31)>]
static member CreateParallel : Android.OS.VibrationEffect -> Android.OS.CombinedVibration

Parameters

effect
VibrationEffect

The VibrationEffect to perform.

Returns

The combined vibration representing the single effect to be played in all vibrators.

Attributes

Remarks

Create a vibration that plays a single effect in parallel on all vibrators.

A parallel vibration that takes a single VibrationEffect to be performed by multiple vibrators at the same time.

Java documentation for android.os.CombinedVibration.createParallel(android.os.VibrationEffect).

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