Pausable
Functions
attachToGlContext
Link copied to clipboard
Mirrors android.graphics.SurfaceTexture.attachToGLContext when this input is backed by android.graphics.SurfaceTexture.
detachFromGlContext
Link copied to clipboard
abstract fun detachFromGlContext()
Content copied to clipboard
Mirrors android.graphics.SurfaceTexture.detachFromGLContext when this input is backed by android.graphics.SurfaceTexture.
readFrame
Link copied to clipboard
subscribeTo
Link copied to clipboard
@CheckResult()
Content copied to clipboard
Subscribes to the provided onFrameAvailable to be notified when a new Frame is available for this input.
Properties
facingFront
Link copied to clipboard
True indicates whether a Frame is facing front in relation to user that is observing it.
rotationDegrees
Link copied to clipboard
The natural orientation of a Frame in relation to a device that is providing it.