Xsens DOT iOS SDK
©2022 Xsens Technologies - Version: 2022.0.0
|
#import <XsensDotDevicePool.h>
Class Methods | |
(XsensDotDevice *) | + heldDeviceWithPeripheral: |
(void) | + holdDevice: |
(void) | + releaseDevice: |
(void) | + onCentralStateUpdated |
+ (XsensDotDevice *) heldDeviceWithPeripheral: | (CBPeripheral *) | peripheral |
Check the sensor if it is in the connected device pool. The connected device pool is a array that sensor has been connected .
peripheral | The CBPeripheral object |
Extends class XsensDotDevicePool.
+ (void) holdDevice: | (XsensDotDevice *) | device |
Add a sensor to connected device pool, Prevent the same sensor from connecting multiple times
device | The XsensDotDevice object |
Extends class XsensDotDevicePool.
+ (void) onCentralStateUpdated |
The bluetooth state of phone updated (Turn on or turn off bluetooth)
Extends class XsensDotDevicePool.
+ (void) releaseDevice: | (XsensDotDevice *) | device |
Release a sensor from connected device list, if a sensor has disconnected ,we must release it.
device | The XsensDotDevice object |
Extends class XsensDotDevicePool.