Capturer

Represents a media capturer that controls the start and stop of media capture operations.

This interface provides a unified abstraction for different types of media capture devices such as cameras, synthetic video generators, or other media sources. Implementations handle the underlying platform-specific capture mechanisms while providing a consistent API.

Threading

Interface doesn't guarantee thread-safety. All operations should be performed on the same thread.

Lifecycle and Idempotency

Report a problem

Inheritors

Properties

Link copied to clipboard
abstract val isCapturing: Boolean

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun startCapture()
Link copied to clipboard
abstract fun stopCapture()