User Tools

Site Tools


getcamerastatetypes

Table of Contents

GetCameraStateTypes

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.

Syntax

array: GetCameraStateTypes([string cameraName=""])

Examples

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.
getcamerastatetypes.txt · Last modified: 2016/09/06 07:25 by act