SensorEvent class

A sensor update event.

Exposes SDL_SensorEvent.

Inheritance

Constructors

SensorEvent({required Sdl sdl, required int timestamp, required int sensor, required double data1, required double data2, required double data3, required double data4, required double data5, required double data6})
Create an event.
const

Properties

data1 double
Data 1.
final
data2 double
Data 2.
final
data3 double
Data 3.
final
data4 double
Data 4.
final
data5 double
Data 5.
final
data6 double
Data 6.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdl Sdl
The SDL bindings to use for this event.
finalinherited
sensor int
The ID of the sensor that was used.
final
timestamp int
The time this event was emitted.
finalinherited

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