User Tools

Site Tools


built_in:cameraview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:cameraview [2014/09/17 19:13]
stevegarman created
built_in:cameraview [2016/06/24 21:13]
Line 1: Line 1:
-====== CameraView control ====== 
-===== Create ===== 
-Create a camera preview control using the CreateCameraView function of the app object: 
-<code>cam = app.CreateCameraView( width, height, options );</code> 
-This control allows your program to show a live feed of what is currently being seen by the phone/tablet's camera. If your device has a front facing camera and is at least version 2.3 of Android you can use the "Front" option to show the front camera's preview. 
  
-You will need to call the StartPreview function of the CameraView control to start the preview (Note: On some phones it is neccessary to wait at least one second before calling the StartPreview function). 
-<code>cam.StartPreview();</code> 
-===== Methods ===== 
-^Method ^Description ^ 
-|cam.AutoCapture| | 
-|cam.Focus| | 
-|cam.GetCameraCount| | 
-|cam.GetHeight| | 
-|cam.GetImageHeight| | 
-|cam.GetImageWidth| | 
-|cam.GetPictureSizes| | 
-|cam.GetVisibility| | 
-|cam.GetWidth| | 
-|cam.MotionMosaic| | 
-|cam.Release| | 
-|cam.SetBackColor| | 
-|cam.SetBackGradient| | 
-|cam.SetBackGradientRadial| | 
-|cam.SetBackground| | 
-|cam.SetFlash| | 
-|cam.SetFocusMode| | 
-|cam.SetMargins| | 
-|cam.SetOnMotion| | 
-|cam.SetOnPicture| | 
-|cam.SetOnReady| | 
-|cam.SetPadding| | 
-|cam.SetPictureSize| | 
-|cam.SetPosition| | 
-|cam.SetPreviewImage| | 
-|cam.SetSize| | 
-|cam.SetSound| | 
-|cam.SetVisibility| | 
-|cam.StartPreview| | 
-|cam.StopPreview| | 
-|cam.Stream| | 
-|cam.TakePicture| | 
built_in/cameraview.txt ยท Last modified: 2016/06/24 21:13 (external edit)