com.craftar
Interface CraftARCamera.CraftARCameraCallbacks
-
- All Known Subinterfaces:
- SearchController
- All Known Implementing Classes:
- CloudSearchController
- Enclosing class:
- CraftARCamera
public static interface CraftARCamera.CraftARCameraCallbacks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onPictureTaken(CraftARQueryImage image)
Callback from theCraftARCamera.takePicture()
call, when the picture was taken.void
onPreviewFrame(CraftARQueryImage image)
Receives a frame from the camera.void
onTakePictureFailed(CraftARError error)
Callback from theCraftARCamera.takePicture()
call, when the picture could not be taken.
-
-
-
Method Detail
-
onPictureTaken
void onPictureTaken(CraftARQueryImage image)
Callback from theCraftARCamera.takePicture()
call, when the picture was taken.- Parameters:
image
- The picture taken
-
onTakePictureFailed
void onTakePictureFailed(CraftARError error)
Callback from theCraftARCamera.takePicture()
call, when the picture could not be taken.- Parameters:
error
- Error describing the problem.
-
onPreviewFrame
void onPreviewFrame(CraftARQueryImage image)
Receives a frame from the camera.- Parameters:
image
- The frame from the camera
-
-