takeSnapshot
abstract suspend fun takeSnapshot(@IntRange(from = 0, to = 359) rotationDegrees: Int = 0): Bitmap(source)
Takes a snapshot of the current video frame.
The snapshot is returned as a Bitmap.
Return
The snapshot as a Bitmap.
Parameters
rotationDegrees
The rotation to apply to the snapshot, in degrees. 0 means no rotation.