Esempio n. 1
0
        private async Task JoinMeetingAsync()
        {
            uint mId;

            if (!uint.TryParse(MeetingId, out mId))
            {
                HasErrorMsg("-1", Messages.WarningInvalidMeetingNo);
                return;
            }


            int meetingId = (int)mId;

            if (meetingId == 0)
            {
                HasErrorMsg("-1", Messages.WarningInvalidMeetingNo);
                return;
            }

            AsyncCallbackMsg result = await _sdkService.VerifyMeetingExist(meetingId);

            if (result.Status == 6)
            {
                result.Message = Messages.WarningMeetingNoDoesNotExist;
            }

            if (HasErrorMsg(result.Status.ToString(), result.Message))
            {
                return;
            }

            _sdkService.MeetingId = meetingId;

            await GotoMeetingViewAsync();
        }