Code example for Camera

Methods: setOneShotPreviewCallback