EventGyroscopeDigital

EventGyroscopeDigital

Creates gyroscope digital events.

Constructor

new EventGyroscopeDigital($type, $code)

Description:
  • Creates a new gyroscope digital event.
Source:
Example
const event = new EventGyroscopeDigital(type, code);
Parameters:
Name Type Description
$type EVENT_TYPES.GYROSCOPE.GYROSCOPE_DOWN | EVENT_TYPES.GYROSCOPE.GYROSCOPE_UP The event type.
$code string The event code.

Members

code :string

Description:
  • Gets the event code.
Source:
Gets the event code.
Type:
  • string