-
public final class MediaPiPLifecycleKt
-
-
Method Summary
Modifier and Type Method Description final static UnitMediaPiPLifecycle(Call call, PictureInPictureConfiguration pictureInPictureConfiguration)Register a call media lifecycle that controls camera and microphone depending on lifecycles. final static UnitMediaPiPLifecycle(Call call, Boolean enableInPictureInPicture)-
-
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)
-
-
-
-