User Tools

Site Tools


Table of Contents


The GetCameraState function returns the current camera state for a given camera state type for the given camera. If no camera name is given, then the first connected camera is taken.


string: GetCameraState(string cameraStateName[, string cameraName=""])


var result = GetCameraState("ConnectionState", "GoPro Hero 4");
// returns the current connection state for the GoPro Hero 4
// camera.
// Returns false if the given camera state name is invalid.
getcamerastate.txt · Last modified: 2016/09/06 07:32 by act