@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="GamepadHapticActuator")
public class GamepadHapticActuator
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
GamepadHapticActuator() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull Promise<java.lang.Boolean> |
pulse(double value,
double duration)
The pulse() method of the GamepadHapticActuator interface makes the hardware pulse at a certain intensity for a specified duration.
|
java.lang.String |
type()
The type read-only property of the GamepadHapticActuator interface returns an enum representing the type of the haptic hardware.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsProperty(name="type") @Nonnull @GamepadHapticActuatorType public java.lang.String type()
public @JsNonNull Promise<java.lang.Boolean> pulse(double value, double duration)