Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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);
            }
        }