Package 

Class AudioRoomContentKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit AudioRoomContent(Modifier modifier, Call call, Boolean isShowingAppBar, VideoPermissionsState permissions, String title, Function1<Call, Unit> appBarContent, AudioRendererStyle style, Function2<ParticipantState, AudioRendererStyle, Unit> audioRenderer, Function2<BoxScope, Call, Unit> audioContent, Function0<Unit> onLeaveRoom, Function0<Unit> onBackPressed, PictureInPictureConfiguration pictureInPictureConfiguration, Function2<Call, Integer, Unit> pictureInPictureContent, Function1<Call, Unit> controlsContent) Represents audio room content based on the call state provided from the call.
      final static Unit AudioRoomContent(Modifier modifier, Call call, Boolean isShowingAppBar, VideoPermissionsState permissions, String title, Function1<Call, Unit> appBarContent, AudioRendererStyle style, Function2<ParticipantState, AudioRendererStyle, Unit> audioRenderer, Function2<BoxScope, Call, Unit> audioContent, Function0<Unit> onLeaveRoom, Function0<Unit> onBackPressed, Boolean enableInPictureInPicture, Function2<Call, Integer, Unit> pictureInPictureContent, Function1<Call, Unit> controlsContent)
      • Methods inherited from class java.lang.Object

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

      • AudioRoomContent

        @Composable() final static Unit AudioRoomContent(Modifier modifier, Call call, Boolean isShowingAppBar, VideoPermissionsState permissions, String title, Function1<Call, Unit> appBarContent, AudioRendererStyle style, Function2<ParticipantState, AudioRendererStyle, Unit> audioRenderer, Function2<BoxScope, Call, Unit> audioContent, Function0<Unit> onLeaveRoom, Function0<Unit> onBackPressed, PictureInPictureConfiguration pictureInPictureConfiguration, Function2<Call, Integer, Unit> pictureInPictureContent, Function1<Call, Unit> controlsContent)

        Represents audio room content based on the call state provided from the call.

        Parameters:
        modifier - Modifier for styling.
        call - The call that contains all the participants state and tracks.
        permissions - Android permissions that should be required to render a audio call properly.
        title - A title that will be shown on the app bar.
        appBarContent - Content shown that a call information or an additional actions.
        audioRenderer - A single audio renderer renders each individual participant.
        audioContent - Content is shown by rendering audio when we're connected to a call successfully.
        onLeaveRoom - A lambda that will be invoked when the leave quietly button was clicked.
        pictureInPictureConfiguration - User can provide Picture-In-Picture configuration.
        pictureInPictureContent - Content shown when the user enters Picture in Picture mode, if it's been enabled in the app.
        controlsContent - Content is shown that allows users to trigger different actions to control a joined call.