Specifies a camera on the client machine.
The DeviceManager object dispatches a
devicesDetected event. This event object
(defined by the DeviceStatusEvent class)
cameras property that is an array of TBCamera objects. It also includes
selectedCamera object, which is a TBCamera object.
The DevicePanel object dispatches a
devicesSelected event (defined by the
DeviceEvent class), which includes a
which is a TBCamera object.
The Publisher object dispatches
(defined by the DeviceEvent class), which each include a
camera property, which is a TBCamera object.
For a code example that uses the TBCamera object, see DeviceManager Example.
The TBCamera class has the following properties:
name (String) The name identifying the camera.
status (String) The status of the the camera:
"unknown". If the value
"unknown", the user has not granted permission to use the camera (in the Flash
Player Settings dialog box). The value is set to
"invalid" for a Camera object that is the
camera property of the
These properties are read-only.