User Tools

Site Tools


getcameraproperty

Table of Contents

GetCameraProperty

The GetCameraProperty function returns the current camera property value for the given camera. If no camera name is given, then the first connected camera is taken.

Syntax

string: GetCameraProperty(string propertyName[, string cameraName=""])

Examples

var result = GetCameraProperty("BatteryLevel", "GoPro Hero 4");
// returns the current battery level of the GoPro Hero 4.
// Returns false if the given camera is not connected.
getcameraproperty.txt · Last modified: 2016/09/06 07:54 by act