Enable scan preview in ionic datawedge app


I'm using datawedge in an ionic app. I need to know which datawedge method enables the preview of the scanning with the "+" indicator while scanning. The datawedge demo app has the option to toggle the preview and i would like to know which intent is used to control the preview.