private void launchComposite()

in azure-communication-ui/calling/src/main/java/com/azure/android/communication/ui/calling/CallComposite.java [881:933]


    private void launchComposite(final Context context,
                                 final CallCompositeRemoteOptions remoteOptions,
                                 final CallCompositeLocalOptions localOptions,
                                 final boolean isTest,
                                 final UUID groupId,
                                 final String meetingLink,
                                 final String meetingId,
                                 final String meetingPasscode,
                                 final String roomId,
                                 final CallType callType,
                                 final Collection<CommunicationIdentifier> participants,
                                 final String incomingCallId) {
        configuration.setCallConfig(new CallConfiguration(
                groupId,
                meetingLink,
                meetingId,
                meetingPasscode,
                roomId,
                callType,
                participants,
                incomingCallId));

        configuration.setApplicationContext(context.getApplicationContext());
        if (remoteOptions != null) {
            configuration.setCredential(remoteOptions.getCredential());
            configuration.setDisplayName(remoteOptions.getDisplayName());
        }

        if (localOptions != null) {
            configuration.setCallCompositeLocalOptions(localOptions);
            // override builder provided options if they are provided in the localOptions
            if (localOptions.getSetupScreenOptions() != null) {
                configuration.setSetupScreenOptions(localOptions.getSetupScreenOptions());
            }
            if (localOptions.getCallScreenOptions() != null) {
                configuration.setCallScreenOptions(localOptions.getCallScreenOptions());
            }
        }

        initializeCallingSDK();

        diContainer = new DependencyInjectionContainerImpl(
                instanceId,
                context.getApplicationContext(),
                this,
                TestHelper.INSTANCE.getCallingSDK(),
                TestHelper.INSTANCE.getVideoStreamRendererFactory(),
                TestHelper.INSTANCE.getCoroutineContextProvider(),
                logger
        );

        showUI(context, isTest);
    }