SDKDataService
class SDKDataService
Description: Monitoring and management of data related to the SDK state machine
class SDKDataService private constructor() : IDataService {
/**
* camera listener list
*/
private var cameraListenerList = mutableListOf<IAutelCameraListener>()
/**
* The last time a camera heartbeat was received
*/
private var mLastReceiveCameraTime = 0L
}
method addDroneStateListener
fun addDroneStateListener(device: IAutelDroneDevice)
Description: Add aircraft state machine monitoring
Input parameters: device: drone device object
Output parameters: None。
Related parameters: None。
method removeDroneStateListener
fun removeDroneStateListener(device: IAutelDroneDevice)
Description: Remove aircraft state machine monitoring
Input parameters: device: drone device object
Output parameters: None。
Related parameters: None。