User Tools

Site Tools


Table of Contents


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.


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


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