User Tools

Site Tools


getcameramodes

Table of Contents

GetCameraModes

The GetCameraModes function returns a list of supported camera modes for the given camera. If no camera name is given, then the first connected camera is taken. Examples for camera modes are “photo”, “video”, “burst”, etc. The modes can be used as input argument for the SetCameraMode function.

Syntax

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

Examples

var result = GetCameraModes("GoPro Hero 4");
// returns a list of camera modes supported by the GoPro Hero 4
getcameramodes.txt · Last modified: 2016/09/06 08:34 by act