-
public final class CameraPreviewKt
-
-
Method Summary
Modifier and Type Method Description final static UnitCameraPreview(CameraPosition cameraPosition, Modifier modifier, Boolean mirror)A standalone camera preview composable that can be used without a Room object. final static CameraPositionflipped(CameraPosition $self)Invert the CameraPosition from front to back and vice-versa. -
-
Method Detail
-
CameraPreview
@Composable() final static Unit CameraPreview(CameraPosition cameraPosition, Modifier modifier, Boolean mirror)
A standalone camera preview composable that can be used without a Room object.
Due to hardware limitations, this should not be used while any camera is in use, or it may fail.
If using this outside of a RoomScope, ensure that LiveKit.init is called prior to use (e.g. in your Application's onCreate method).
-
flipped
final static CameraPosition flipped(CameraPosition $self)
Invert the CameraPosition from front to back and vice-versa.
-
-
-
-