Camera2Source

@RequiresApi(value = 21)
class Camera2Source(context: Context) : VideoSource

Created by pedro on 11/1/24.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
Link copied to clipboard
var fps: Int
Link copied to clipboard
var height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var width: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getZoom(): Float
Link copied to clipboard
Link copied to clipboard
fun init(width: Int, height: Int, fps: Int, rotation: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isRunning(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun release()
Link copied to clipboard
fun setExposure(level: Int)
Link copied to clipboard
fun setZoom(level: Float)
fun setZoom(event: MotionEvent, delta: Float = 0.1f)
Link copied to clipboard
open override fun start(surfaceTexture: SurfaceTexture)
Link copied to clipboard
open override fun stop()
Link copied to clipboard
Link copied to clipboard