getType method
Get the type of a sensor.
\param sensor the SDL_Sensor object to inspect.
\returns the SDL_SensorType type, or SDL_SENSOR_INVALID if sensor is
NULL.
\since This function is available since SDL 3.2.0.
extern SDL_DECLSPEC SDL_SensorType SDLCALL SDL_GetSensorType(SDL_Sensor *sensor)
Implementation
int getType() => sdlGetSensorType(this);