Skip to main content

CameraJsonFileUtils

class CameraJsonFileUtils

Description: Camera capability set json file tool class

method parseCameraJsonFile

fun parseCameraJsonFile(deviceType: String)

Description: Parse the camera capability set json file into the data of the camera capability set

Input parameters: device type defines with string。

Output parameter: None。

Related parameters: None。

method parseGimbalJsonFile

private fun parseGimbalJsonFile(gimbalTypeEnum: GimbalTypeEnum)

Description:Parse the PTZ capability set json file

Input parameters: gimbalTypeEnum enum state of Gimbal type

Output parameter: None。

Related parameters: None。

method parseCameraJsonFile

fun parseCameraJsonFile(file: File)

Description: parsing json file with camera json

Input parameters: file: file path

Output parameter: None。

Related parameters: None。