User Tools

Site Tools


getcameralist

Table of Contents

GetCameraList

The GetCameraList function returns a list of all (optionally connected) camera names. The returned camera names can be used as input argument for all camera related functions.

Syntax

array: GetCameraList([bool connectedOnly=false])

Examples

var result = GetCameraList();
// returns an array with all cameras, for instance
// ["GoPro Hero 4", "GoPro Hero Session", ...]

var result = GetCameraList(true);
// returns an array with all currently connected cameras, for instance
// ["GoPro Hero 4"]
getcameralist.txt · Last modified: 2016/09/06 08:05 by act