This shows you the differences between two versions of the page.
built_in:cameraview [2015/01/07 09:44] octazid [Methods] |
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: | ||
- | < | ||
- | This control allows your program to show a live feed of what is currently being seen by the phone/ | ||
- | 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). | ||
- | < | ||
- | ===== Methods ===== | ||
- | Some controls use the same methods.\\ | ||
- | For examples of the **[[same methods]]** look here. | ||
- | ^Method ^Description ^ | ||
- | |CameraView.AutoCapture( p1,p2,p3 ) | | | ||
- | |CameraView.Destroy() | | | ||
- | |CameraView.Focus() | | | ||
- | |CameraView.GetAbsHeight() | | | ||
- | |CameraView.GetAbsWidth() | | | ||
- | |CameraView.GetCameraCount() | | | ||
- | |CameraView.GetHeight() | | | ||
- | |CameraView.GetImageHeight() | | | ||
- | |CameraView.GetImageWidth() | | | ||
- | |CameraView.GetPictureSizes() | | | ||
- | |CameraView.GetPixelData( format, | ||
- | |CameraView.GetPosition() | | | ||
- | |CameraView.GetType() | | | ||
- | |CameraView.GetVisibility() | | | ||
- | |CameraView.GetWidth() | | | ||
- | |CameraView.MotionMosaic( p1, | ||
- | |CameraView.Release() | | | ||
- | |CameraView.ReportColors( list, | ||
- | |CameraView.SetBackColor( p1 ) | | | ||
- | |CameraView.SetBackGradient( p1, | ||
- | |CameraView.SetBackGradientRadial( p1, | ||
- | |CameraView.SetBackground( p1,p2 ) | | | ||
- | |CameraView.SetFlash( onoff ) |set to true or false| | ||
- | |CameraView.SetFocusMode( mode ) | | | ||
- | |CameraView.SetMargins( left, | ||
- | |CameraView.SetOnMotion( callback ) | | | ||
- | |CameraView.SetOnPicture( callback ) | | | ||
- | |CameraView.SetOnReady( callback ) | | | ||
- | |CameraView.SetPadding( p1,p2,p3,p4 ) | | | ||
- | |CameraView.SetPictureSize( width, | ||
- | |CameraView.SetPosition( p1,p2,p3,p4 ) | | | ||
- | |CameraView.SetPreviewImage( p1 ) | | | ||
- | |CameraView.SetScale( x,y ) | | | ||
- | |CameraView.SetSize( p1,p2 ) | | | ||
- | |CameraView.SetSound( onoff ) | | | ||
- | |CameraView.SetVisibility( p1 ) | | | ||
- | |CameraView.StartPreview() | | | ||
- | |CameraView.StopPreview() | | | ||
- | |CameraView.Stream( p1, | ||
- | |CameraView.TakePicture( p1 ) | | |