Package 

Class MediaPiPLifecycleKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MediaPiPLifecycle(Call call, PictureInPictureConfiguration pictureInPictureConfiguration) Register a call media lifecycle that controls camera and microphone depending on lifecycles.
      final static Unit MediaPiPLifecycle(Call call, Boolean enableInPictureInPicture)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • MediaPiPLifecycle

        @Composable() final static Unit MediaPiPLifecycle(Call call, PictureInPictureConfiguration pictureInPictureConfiguration)

        Register a call media lifecycle that controls camera and microphone depending on lifecycles. The default behavior is like so:

        • camera/microphone will be disabled if the lifecycle is onPaused, and not on the PIP mode.

        • camera/microphone will be enabled if the lifecycle is onResumed, and not on the PIP mode.

        Parameters:
        call - The call includes states and will be rendered with participants.
      • MediaPiPLifecycle

        @Deprecated(message = Use MediaPiPLifecycle with pictureInPictureConfiguration, replaceWith = @ReplaceWith(imports = {}, expression = MediaPiPLifecycle(call, pictureInPictureConfiguration))@Composable() final static Unit MediaPiPLifecycle(Call call, Boolean enableInPictureInPicture)