Ejemplo n.º 1
0
 private static void StartApiService(string id, string messageId, string text = "", string contact = "", string pathFile = "", string imageUrl = "", string stickerId = "", string gifUrl = "")
 {
     if (!Methods.CheckConnectivity())
     {
         Toast.MakeText(MainWindowActivity, MainWindowActivity.GetString(Resource.String.Lbl_CheckYourInternetConnection), ToastLength.Short).Show();
     }
     else
     {
         PollyController.RunRetryPolicyFunction(new List <Func <Task> > {
             () => SendMessage(id, messageId, text, contact, pathFile, imageUrl, stickerId, gifUrl)
         });
     }
 }