Package io.github.libsdl4j.api.sensor
Class SDL_SensorID
- java.lang.Object
-
- java.lang.Number
-
- com.sun.jna.IntegerType
-
- io.github.libsdl4j.api.sensor.SDL_SensorID
-
- All Implemented Interfaces:
com.sun.jna.NativeMapped
,Serializable
public final class SDL_SensorID extends com.sun.jna.IntegerType
This is a unique ID for a sensor for the time it is connected to the system, and is never reused for the lifetime of the application.The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SDL_SensorID()
Create a zero-valued signed IntegerType.SDL_SensorID(long value)
Create a signed IntegerType with the given value.
-
Method Summary
-
Methods inherited from class com.sun.jna.IntegerType
compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative, toString
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-