Camera.availableDevices: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2017.8<br/>
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate>Returns a list of tables describing each available camera in the system. Each list entry has the following fields:
<translate>Returns a list of tables describing each available camera in the system. Each list entry has the following fields:
*name* - Internal name of the device
*name* - Internal name of the device
Line 9: Line 9:
(table) = camera.availableDevices()
(table) = camera.availableDevices()
</source>
</source>
=== Return values ===
=== <translate>Return values</translate> ===
'''Returns''' (table) <translate>List of available cameras</translate><br/>
'''<translate>Returns</translate>''' (table) <translate>List of available cameras</translate><br/>

Revision as of 06:27, 24 August 2018

Available since: Gideros 2017.8

Description

Returns a list of tables describing each available camera in the system. Each list entry has the following fields: *name* - Internal name of the device *description* - Description of the device *position* - Position of the device, can be 'front','back' or 'unknown'

(table) = camera.availableDevices()

Return values

Returns (table) List of available cameras