Pausable
Defines an Input that provides an ability to pause and resume frame updates. Once done using an instance of Pausable, close must be called to avoid leaking resources.
Since
1.6.0
Functions
Link copied to clipboard
Mirrors android.graphics.SurfaceTexture.attachToGLContext when this input is backed by android.graphics.SurfaceTexture.
Link copied to clipboard
Mirrors android.graphics.SurfaceTexture.detachFromGLContext when this input is backed by android.graphics.SurfaceTexture.
Link copied to clipboard
Allows to read a Frame when notified by in a callback subscribed via subscribeTo.
Link copied to clipboard
Subscribes to the provided onFrameAvailable to be notified when a new Frame is available for this input. The returned Closeable must be closed when done working with this input otherwise underlying resources will be leaked.