Udostępnij za pośrednictwem


VibrationEffect.Composition.Compose Method

Definition

Compose all of the added primitives together into a single VibrationEffect.

[Android.Runtime.Register("compose", "()Landroid/os/VibrationEffect;", "", ApiSince=30)]
public Android.OS.VibrationEffect Compose ();
[<Android.Runtime.Register("compose", "()Landroid/os/VibrationEffect;", "", ApiSince=30)>]
member this.Compose : unit -> Android.OS.VibrationEffect

Returns

The VibrationEffect resulting from the composition of the primitives.

Attributes

Remarks

Compose all of the added primitives together into a single VibrationEffect.

The Composition object is still valid after this call, so you can continue adding more primitives to it and generating more VibrationEffects by calling this method again.

Java documentation for android.os.VibrationEffect.Composition.compose().

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