HapticFeedbackSystem
ClassTriggers haptic feedback on the device.
- Available on all platforms
Since Lens Scripting v235
Triggers haptic feedback on the device. (iOS Devices only)
Index
Extends
Methods
getTypeName()
staticgetTypeName():TypeName<HapticFeedbackSystem>
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns
TypeName<HapticFeedbackSystem>
Since
Lens Scripting Version 235
Overrides
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
hapticFeedback()
hapticFeedback(
type):void
Trigger a haptic feedback.
Parameters
| Parameter | Type |
|---|---|
type | HapticFeedbackType |
Returns
void
Since
Lens Scripting Version 235
isOfType()
isOfType(
type):boolean
Returns true if the object matches or derives from the passed in type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean