Partager via


VibrationEffect.Composition.AddPrimitive Method

Definition

Overloads

AddPrimitive(Int32)
AddPrimitive(Int32, Single)
AddPrimitive(Int32, Single, Int32)

AddPrimitive(Int32)

[Android.Runtime.Register("addPrimitive", "(I)Landroid/os/VibrationEffect$Composition;", "", ApiSince=30)]
public Android.OS.VibrationEffect.Composition AddPrimitive (int primitiveId);
[<Android.Runtime.Register("addPrimitive", "(I)Landroid/os/VibrationEffect$Composition;", "", ApiSince=30)>]
member this.AddPrimitive : int -> Android.OS.VibrationEffect.Composition

Parameters

primitiveId
Int32

Returns

Attributes

Applies to

AddPrimitive(Int32, Single)

[Android.Runtime.Register("addPrimitive", "(IF)Landroid/os/VibrationEffect$Composition;", "", ApiSince=30)]
public Android.OS.VibrationEffect.Composition AddPrimitive (int primitiveId, float scale);
[<Android.Runtime.Register("addPrimitive", "(IF)Landroid/os/VibrationEffect$Composition;", "", ApiSince=30)>]
member this.AddPrimitive : int * single -> Android.OS.VibrationEffect.Composition

Parameters

primitiveId
Int32
scale
Single

Returns

Attributes

Applies to

AddPrimitive(Int32, Single, Int32)

[Android.Runtime.Register("addPrimitive", "(IFI)Landroid/os/VibrationEffect$Composition;", "", ApiSince=30)]
public Android.OS.VibrationEffect.Composition AddPrimitive (int primitiveId, float scale, int delay);
[<Android.Runtime.Register("addPrimitive", "(IFI)Landroid/os/VibrationEffect$Composition;", "", ApiSince=30)>]
member this.AddPrimitive : int * single * int -> Android.OS.VibrationEffect.Composition

Parameters

primitiveId
Int32
scale
Single
delay
Int32

Returns

Attributes

Applies to