Networking capability support interface.
INetMeshManager
Description Networking capability support interface.
method getAllMeshDeviceList
fun getAllMeshDeviceList():List<DeviceInfoBean>
Description: Gets the device information.
Input Parameters: None.
Output Parameter: Gets the device information.
Related Parameters: DeviceInfoBean
method hasNoWatchDevice
fun hasNoWatchDevice():Boolean
Description: Determines if there is a watch device.
Input Parameters: None.
Output Parameter: Determines if there is a watch device.
Related Parameters: None.
method getLocalRCName
fun getLocalRCName():String?
Description: Local remote controller name.
Input Parameters: None.
Output Parameter: Local remote controller name.
Related Parameters: None.
method getMainRCName
fun getMainRCName():String?
Description: Main remote controller name.
Input Parameters: None.
Output Parameter: Main remote controller name.
Related Parameters: None.
method getMainRcWatchDrone
fun getMainRcWatchDrone():IAutelDroneDevice?
Description: Main remote controller's watch device.
Input Parameters: None.
Output Parameter: Main remote controller's watch device.
Related Parameters: IAutelDroneDevice
method getMainRcDeviceId
fun getMainRcDeviceId():Int?
Description: Main remote controller's device ID.
Input Parameters: None.
Output Parameter: Main remote controller's device ID.
Related Parameters: None.
method isNetMeshing
fun isNetMeshing():Boolean
Description: Determines if currently in the process of networking.
Input Parameters: None.
Output Parameter: Determines if currently in the process of networking.
Related Parameters: None.
method isMeshDisband
fun isMeshDisband():Boolean
Description: Determines if the networking team has been disbanded.
Input Parameters: None.
Output Parameter: Determines if the networking team has been disbanded.
Related Parameters: None.
method startNetMeshMatching
fun startNetMeshMatching(
bean: CreateDeviceNetworkReq,
meshMode: MeshModeEnum? = MeshModeEnum.STANDARD,
callback: CommonCallbacks.CompletionCallbackWithParam<CreateDeviceNetworkResp>
)
Description: Starts networking.
Input Parameters: bean:Networking configuration information [CreateDeviceNetworkReq]. meshMode:Networking aircraft count enumeration [MeshModeEnum]. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method completeNetMeshMatching
fun completeNetMeshMatching(
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Completes networking.
Input Parameters: callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method delNetMeshDevice
fun delNetMeshDevice(
deviceId: Int,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Removes a device from the networking team.
Input Parameters: deviceId:Device ID. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method setCenterNode
fun setCenterNode(
deviceId: Int,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Sets as the center node.
Input Parameters: deviceId:Device ID. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method joinDeviceNetMesh
fun joinDeviceNetMesh(
joinReq: JoinDeviceNetworkReq?,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Joins the networking team.
Input Parameters: joinReq:Networking information [JoinDeviceNetworkReq]. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method disbandNetMesh
fun disbandNetMesh(
groupId: Long?,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Disbands the networking team.
Input Parameters: groupId:Group ID. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method quitNetMeshMatching
fun quitNetMeshMatching(
groupId: Long?,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Quits the networking team.
Input Parameters: groupId:Group ID. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method nameDeviceNetMeshMatching
fun nameDeviceNetMeshMatching(
editDeviceNameReq: EditDeviceNameReq,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Exit the networking team
Input Parameters: editDeviceNameReq:Device information [EditDeviceNameReq]. callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method setWatchDevice
fun setWatchDevice(
selectDevice: List<Int>?,
callback: CommonCallbacks.CompletionCallbackWithParam<Int>
)
Description: Switches the video transmission.
Input Parameters: selectDevice:Collection of devices. callback:Callback function.,Callback function. 1: Success, 2: Failure, 0: Unknown.
Output Parameter: None.
Related Parameters: None.
method resetDeviceNetMesh
fun resetDeviceNetMesh(
callback: CommonCallbacks.CompletionCallbackWithParam<Int>?
)
Description: Resets the networking.
Input Parameters: callback:Callback function.
Output Parameter: None.
Related Parameters: None.
method setNetMeshStreamControl
fun setNetMeshStreamControl(streamList: List<CameraStreamInfo>, callback: CommonCallbacks.CompletionCallbackWithParam<Int>)
Description: Sets network stream control.
Input Parameters: streamList:Collection of camera stream information. callback:Callback function.
Output Parameter: None.
Related Parameters: CameraStreamInfo
method switchControlMode
fun switchControlMode(
mode: ControlMode,
id: Int,
callback: CommonCallbacks.CompletionCallbackWithParam<Void>
)
Description: switch control mode
Input Parameters: mode:Refer to ControlMode id: if ControlMode is GROUP , this parameter is group id
if ControlMode is SINGLE, this parameter is node id
if ControlMode is ALL, this parameter is ignore
callback: Callback function.
Output Parameter: None.
Related Parameters: ControlMode