Package 

Class CameraPreviewKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit CameraPreview(CameraPosition cameraPosition, Modifier modifier, Boolean mirror) A standalone camera preview composable that can be used without a Room object.
      final static CameraPosition flipped(CameraPosition $self) Invert the CameraPosition from front to back and vice-versa.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.