java.lang.Object
io.qt.QtObject
io.qt.sensors.QSensorManager
- All Implemented Interfaces:
QtObjectInterface
Handles registration and creation of sensor backends
Java wrapper for Qt's class QSensorManager
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic QSensorBackend
createBackend
(QSensor sensor) static boolean
isBackendRegistered
(QByteArray type, QByteArray identifier) static void
registerBackend
(QByteArray type, QByteArray identifier, QSensorBackendFactory factory) static void
setDefaultBackend
(QByteArray type, QByteArray identifier) static void
unregisterBackend
(QByteArray type, QByteArray identifier) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSensorManager
public QSensorManager() -
QSensorManager
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
createBackend
-
isBackendRegistered
-
registerBackend
public static void registerBackend(QByteArray type, QByteArray identifier, QSensorBackendFactory factory) -
setDefaultBackend
-
unregisterBackend
-