open class Camera
Complex Camera Wrapper, for simple Camera use
interface AutoFocusCallback |
|
open class CameraState
Current Camera state object |
|
interface OnStateChangeListener
Camera state change Interface |
|
abstract class PictureCallback : PictureCallback
Abstract picture callback |
|
open class Size
Size model |
static var previewCallback: PreviewCallback! |
open fun getCameraAngleCorrection(): Int |
|
open fun getCameraFacing(): CameraFacing!
Get the current camera facing. |
|
open fun getCameraOrientation(): Int
Get camera cameraOrientation |
|
open fun getCurrentExifOrientation(): Int |
|
open fun getFlashMode(): FlashMode!
Get the current FlashMode |
|
open static fun getInstance(): Camera!
Get a singleton Camera Instance. |
|
open fun getPreviewSize(): Camera.Size!
Get Preview Size |
|
open fun getState(): Camera.CameraState!
Get the State of the current Camera getSettingsModel. This is a singleton |
|
open fun hasSceneMode(mode: String!): Boolean
Check if the current state has scene mode is available. |
|
open static fun isAvailable(): Boolean
Check if min. 1 Camera is available. |
|
open fun isFront(): Boolean
Check if Camera is Front Camera |
|
open fun isPreviewFlipped(): Boolean |
|
open fun setAutoFocusCallback(autoFocusCallback: Camera.AutoFocusCallback!): Unit |
|
open fun setCameraFacing(cameraFacing: CameraFacing!): CameraFacing!
Try to set a Camera Facing. |
|
open fun setFlashMode(mode: FlashMode!): FlashMode!
Try to set a flash mode and take a fallback mode if not supported by current Camera. |
|
open fun setFocus(focusAreas: MutableList<Area!>!): Unit
* Set Camera FOCUS. |
|
open fun setLocationProvider(locationProvider: GPSLocationProvider!): Unit |
|
open fun setOnStateChangeListener(onStateChangeListener: Camera.OnStateChangeListener!): Unit
Set a listener to catch any getSettingsModel state changes. |
|
open fun setSceneMode(mode: SceneMode!): SceneMode!
Try to set a Scene mode and take a fallback mode if not supported by current Camera. |
|
open fun setSurface(surfaceTexture: SurfaceTexture!): Unit
Set Preview Texture |
|
open fun startPreview(): Unit
Start the Camera Preview, this is async and will begin if the surface are set. |
|
open fun stopPreview(release: Boolean): Unit
Stop the Camera Preview and releaseGlContext the surface. |
|
open fun takePicture(callback: CameraView.CaptureCallback!, outputPath: String!): Unit
* Take a Picture |