The GetCameraSetting
function returns the current setting value for a given setting for the given camera. If no camera name is given, then the first connected camera is taken.
string: GetCameraSetting(string settingName[, string cameraName=""])
var result = GetCameraSetting("ExposureCompensation", "GoPro Hero 4"); // returns the currently set exposure compensation value for the // GoPro Hero 4 camera. // False is returned if the camera is not connected or if the // given setting is not supported by the camera.