Camera

From Lianjapedia
Jump to: navigation, search

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Description

Control to use the webcam on your machine to capture and store images.

Properties

This class supports the Common Properties plus the following:

Property Value Access (R/RW) Description
camera Character (R) Returns the currently selected cameras
list Character (R) Returns a comma separated list of available cameras

Methods

This class supports the Common Methods plus the following:

Method Args Description
getPhoto filename as character get a photo
start None Start the camera.
stop None Stop the camera.
takePhoto None Take a photo. Stores it in photo.png in the current directory.

Events

This class supports the Common Events plus the following:

Event Args Description