Allows the capture of still images from the system camera.

Images are returned as frozen JavaScript Image objects, consisting of a path, a filename, a width and a height. Once created or acquired, Images can be passed around to other APIs to use, fetch or alter their underlying data. All images are temporary "scratch images" until storage has been specified either through publishing to the CameraRoll or other.

You need to add a reference to "Fuse.Camera" in your project file to use this feature.

On Android using this API will request the CAMERA and WRITE_EXTERNAL_STORAGE permissions.


var camera = require('FuseJS/Camera');
    //Do things with image here
}).catch(function(error) {
    //Something went wrong, see error for details


Fuse.Camera 2.9.1
Show Uno properties and methods

Interface of Camera

Inherited from NativeModule

Inherited from Module

GetFile : FileSource uno

Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces