Пример #1
0
 public async void GetReadAllProfiles(string apikey, string access_token)
 {
     await ReadAllProfilesAPI.GetReadAllProfiles(apikey, access_token, response => {
         Debug.Write("error", response.FirstName);
     }, (error) => {
         Debug.Write("error", error.description);
     });
 }
Пример #2
0
 public async void GetReadAllProfiles(string apikey, string access_token)
 {
     await ReadAllProfilesAPI.GetReadAllProfiles(apikey, access_token, response => {
         Toast.MakeText(this, "Hello" + Convert.ToString(response.FirstName), ToastLength.Long).Show();
         firstname.Text = "FirstName = " + response.FirstName;
         lastname.Text  = "LastName = " + response.LastName;
         email.Text     = "Email = " + response.Email[0].Value;
         uid.Text       = "UID = " + response.Uid;
     }, (error) => {
         Toast.MakeText(this, error.description, ToastLength.Long).Show();
     });
 }