private void launchComposite()

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


    private void launchComposite(final Context context,
                                 final CallCompositeRemoteOptions remoteOptions,
                                 final CallCompositeLocalOptions localOptions,
                                 final boolean isTest) {
        initAndroidThreeTen(context.getApplicationContext());

        UUID groupId = null;
        String meetingLink = null;
        String meetingId = null;
        String meetingPasscode = null;
        String roomId = null;
        final CallType callType;

        final CallCompositeJoinLocator locator = remoteOptions.getLocator();
        if (locator instanceof CallCompositeGroupCallLocator) {
            callType = CallType.GROUP_CALL;
            groupId = ((CallCompositeGroupCallLocator) locator).getGroupId();
        }  else if (locator instanceof CallCompositeTeamsMeetingIdLocator) {
            callType = CallType.TEAMS_MEETING;
            final CallCompositeTeamsMeetingIdLocator teamsMeetingIdLocator =
                    (CallCompositeTeamsMeetingIdLocator) locator;
            meetingId = teamsMeetingIdLocator.getMeetingId();
            meetingPasscode = teamsMeetingIdLocator.getMeetingPasscode();
        } else if (locator instanceof CallCompositeTeamsMeetingLinkLocator) {
            callType = CallType.TEAMS_MEETING;
            meetingLink = ((CallCompositeTeamsMeetingLinkLocator) locator).getMeetingLink();
        } else if (locator instanceof CallCompositeRoomLocator) {
            callType = CallType.ROOMS_CALL;
            final CallCompositeRoomLocator roomLocator = (CallCompositeRoomLocator) locator;
            roomId = roomLocator.getRoomId();
        } else {
            throw new CallCompositeException("Not supported Call Locator type");
        }

        launchComposite(context,
                remoteOptions,
                localOptions,
                isTest,
                groupId,
                meetingLink,
                meetingId,
                meetingPasscode,
                roomId,
                callType,
                null,
                null
        );
    }