User Tools

Site Tools


getmedialist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getmedialist [2016/09/06 08:16]
act
getmedialist [2016/09/06 08:17] (current)
act [Examples]
Line 20: Line 20:
 // False is returned if the given camera is not connected // False is returned if the given camera is not connected
 // or if loading of the media list fails. // or if loading of the media list fails.
 +</​code>​
 +
 +Accessing a media item:
 +<​code>​
 +var result = GetMediaList("​GoPro Hero 4");
 +if (result.length > 0)
 +{
 +  LogText("​Media item size: " + result[0].filesize);​
 +}
 </​code>​ </​code>​
getmedialist.1473142565.txt.gz · Last modified: 2016/09/06 08:16 by act