void profileManager_Data(object sender, ProfileManager.DataEventArgs e) { // Call back with the result of the processProfileAsync EMDKResults results = e.P0.Result; string statusString = CheckXmlError(results); RunOnUiThread(() => statusTextView.Text = statusString); }
void profileManager_Data(object sender, ProfileManager.DataEventArgs e) { // Call back with the result of the processProfileAsync EMDKResults results = e.P0.Result; string statusString = CheckXmlError(results); output(statusString); }
void profileManager_Data(object sender, ProfileManager.DataEventArgs e) { // Call back with the result of the processProfileAsync EMDKResults results = e.P0.Result; // Check the return status of processProfileAsync string resultString = results.StatusCode == EMDKResults.STATUS_CODE.Success ? "Set profile success." : "Set profile failed."; if (statusTextView != null) { RunOnUiThread(() => statusTextView.Text = resultString); Console.WriteLine("Status: " + results.StatusCode + " ExtendedStatus: " + results.ExtendedStatusCode + "\n" + results.StatusString); } }