CameraInstance

interface CameraInstance

Interface that has to be implemented by any class using CameraProvider.

Functions

getActivity
Link copied to clipboard
abstract fun getActivity(): Activity

Returns the current Activity

getOrientation
Link copied to clipboard
abstract fun getOrientation(): Int

Returns the rotation of the current view

getTextureView
Link copied to clipboard
abstract fun getTextureView(): TextureView

Returns the TextureView on which the camera preview image will be displayed

Inheritors

CameraActivity
Link copied to clipboard