Z.CameraManager

Studio

Z.CameraManager

Inherits from Z.Base

Description

The Z.CameraManager object makes it possible to control the device's camera.

Provided by Z.CameraManager

Constructor

Z.CameraManager( ) Constructs a new Z.CameraManager object.

Functions

enable(...) Enables or disables the camera feed.
useDefaultCamera( ) Switches the camera screen to show the default camera - usually the rear-facing camera.
useFrontCamera( ) Switches the camera screen to show the front-facing camera if present on the device.
useRearCamera( ) Switches the camera screen to show the rear-facing camera.

Inherited from Z.Base

Functions

emit(...) Calls the handler functions attached to an event.
hasTag(...) Returns true if this object has the specified tag.
off(...) Removes a handler function from an event.
on(...) Attaches a handler function to an event.
one(...) Attaches a single-use handler function to an event.
pushTag(...) Adds a tag to this object.
removeTag(...) Removes a tag from this object.
tags( ) Gets an array of the tags that this object belongs to.
tags(...) Sets the array of the tags that this object belongs to.
Open in new window