getProperties method

int getProperties()

Get the properties associated with a sensor.

\param sensor the SDL_Sensor object. \returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetSensorProperties(SDL_Sensor *sensor)

Implementation

int getProperties() => sdlGetSensorProperties(this);