GamepadHapticActuator class

This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

GamepadHapticActuator.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
playEffect Future<GamepadHapticsResult> Function(GamepadHapticEffectType, [GamepadEffectParameters?])

Available on GamepadHapticActuator, provided by the GamepadHapticActuator$Typings extension

getter/setter pair
reset Future<GamepadHapticsResult> Function()

Available on GamepadHapticActuator, provided by the GamepadHapticActuator$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GamepadHapticActuatorType

Available on GamepadHapticActuator, provided by the GamepadHapticActuator$Typings extension

MDN Reference
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited