com.craftar
Class CraftARCameraView
- java.lang.Object
-
- OFGLCameraView
-
- com.craftar.CraftARCameraView
public class CraftARCameraView extends OFGLCameraView
View where the camera frames are shown.
-
-
Constructor Summary
Constructors Constructor and Description CraftARCameraView(Context context)
Creates a new CraftARCameraView for ARCraftARCameraView(Context context, AttributeSet attrs)
Creates a new CraftARCameraView for AR with the given attributes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
disableOFTouchEvents()
void
enableTouchEvents(OFGestureListener gestureListener)
void
onClick(View v)
boolean
onTouch(View v, MotionEvent event)
boolean
performClick()
void
setOnClickListener(OnClickListener l)
void
setOnTouchListener(OnTouchListener l)
-
-
-
Constructor Detail
-
CraftARCameraView
public CraftARCameraView(Context context)
Creates a new CraftARCameraView for AR
-
CraftARCameraView
public CraftARCameraView(Context context, AttributeSet attrs)
Creates a new CraftARCameraView for AR with the given attributes
-
-
Method Detail
-
disableOFTouchEvents
public void disableOFTouchEvents()
-
enableTouchEvents
public void enableTouchEvents(OFGestureListener gestureListener)
-
setOnClickListener
public void setOnClickListener(OnClickListener l)
-
setOnTouchListener
public void setOnTouchListener(OnTouchListener l)
-
performClick
public boolean performClick()
-
onTouch
public boolean onTouch(View v, MotionEvent event)
-
onClick
public void onClick(View v)
-
-