User Tools

Site Tools



The GetPossibleCameraStatesForType function returns a list of possible camera states for a given camera state type for the given camera. If no camera name is given, then the first connected camera is taken. Examples for camera states are “connecting”, “connected”, “charging”, etc.


array: GetPossibleCameraStatesForType(string cameraStateName[, string cameraName=""])


var result = GetPossibleCameraStatesForType("ConnectionState");
// returns a list of possible connection states for the first connected
// camera.
// Returns false if no camera is connected, or if the given camera state name
// is invalid.
getpossiblecamerastatesfortype.txt · Last modified: 2016/09/06 07:29 by act