Bebo.Camera — Native Camera API

Furqan Rydhan
Bebo Developers
Published in
1 min readSep 4, 2016

Bebo.Camera.previewOn(side);

The previewOn() function will trigger the native camera preview

Bebo.previewOn('front'); or Bebo.previewOn('back');

Bebo.Camera.previewOff();

The previewOff() function will turn off the native camera preview

Bebo.previewOff();

Bebo.Camera.capture();

The capture() function will capture a photo if the camera preview is open

Bebo.Camera.capture();

--

--