Exemplo n.º 1
0
        private async void loginBtn_Clicked(object sender, EventArgs e)
        {
            string userId = usernameId.Text;

            if (userId != null)
            {
                sinchService.StartSinchClient(userId);
                while (!IsSinchStarted())
                {
                    progress.Text = "Please wait app is starting to sinch service...";
                    await Task.Delay(500);
                }

                Debug.WriteLine(sinchService.IsSinchClientStarted().ToString());
                LaunchReciepientAsync();
            }
        }
Exemplo n.º 2
0
 void ClickedButton(object sender, EventArgs args)
 {
     tt = enterName.Text;
     sinchService.StartSinchClient(tt);
 }