The GetCameraStateTypes
function returns a list of camera state types for the given camera. If no camera name is given, then the first connected camera is taken. Examples for camera state types are “BatteryState”, “ConnectionState”, etc.
array: GetCameraStateTypes([string cameraName=""])
var result = GetCameraStateTypes("GoPro Hero 4"); // returns a list of camera state types for the GoPro Hero 4 camera. // If the camera is not connected then false is returned.