ISnapshotable
An interface to take a snapshot of the current video frame.
Inheritors
Functions
Link copied to clipboard
suspend fun ISnapshotable.takeJpegSnapshot(outputStream: OutputStream, @IntRange(from = 0, to = 100) quality: Int = 100, @IntRange(from = 0, to = 359) rotationDegrees: Int = 0)
Takes a snapshot of the current video frame.
suspend fun ISnapshotable.takeJpegSnapshot(file: File, @IntRange(from = 0, to = 100) quality: Int = 100, @IntRange(from = 0, to = 359) rotationDegrees: Int = 0, dispatcher: CoroutineDispatcher = Dispatchers.IO)
suspend fun ISnapshotable.takeJpegSnapshot(filePathString: String, @IntRange(from = 0, to = 100) quality: Int = 100, @IntRange(from = 0, to = 359) rotationDegrees: Int = 0, dispatcher: CoroutineDispatcher = Dispatchers.IO)
Takes a JPEG snapshot of the current video frame.
Link copied to clipboard
Takes a snapshot of the current video frame.