CustomPattern
A custom haptics pattern can be played by combining Buzz haptic command and/or a pre-defined pattern, this object will hold a list of the haptics to be played with their specified durations.
Inherits from:
IHapticsCommand
Public Methods
void Add
public void Add(
in Buzz buzz
)
Parameters
Type | Name | Description |
---|---|---|
in Buzz | buzz | A structure containing information about the Buzz command to be played. |
void Add
public void Add(
in PreDefined preDefined,
uint durationMs
)
Parameters
Type | Name | Description |
---|---|---|
in PreDefined | preDefined | A structure containing information about the Pre-Defined pattern to be played. |
uint | durationMs |
bool Remove
public bool Remove(
in Buzz buzz
)
Parameters
Type | Name | Description |
---|---|---|
in Buzz | buzz | A structure containing information about the Buzz command to be played. |
bool Remove
public bool Remove(
in PreDefined preDefined,
uint durationMs
)
Parameters
Type | Name | Description |
---|---|---|
in PreDefined | preDefined | A structure containing information about the Pre-Defined pattern to be played. |
uint | durationMs |
MLResult StartHaptics
public MLResult StartHaptics()
Reimplements: StartHaptics