public override void RequestDidSucceed(ApiResult apiResult)
        {
            // Your code after the user authorizes application for
            // requested scopes.

            // Load new view controller with user identifying information
            // as the user is now successfully logged in.
            AIMobileLib.GetProfile (new AMZNGetProfileDelegate (vc));
        }
コード例 #2
0
        public override void RequestDidSucceed(ApiResult apiResult)
        {
            // If request succeded we retrieve the results from our request
            var name = (NSString) apiResult["name"];
            var email = (NSString) apiResult["email"];
            var userId = (NSString) apiResult["user_id"];
            var postalCode = (NSString) apiResult["postal_code"];

            var dvc = new DVCDetails (name, email, userId, postalCode);
            vc.NavigationController.PushViewController (dvc, true);
        }
コード例 #3
0
 public override void RequestDidSucceed(ApiResult apiResult)
 {
     // Your additional logic after the user authorization state is cleared.
     dvc.NavigationController.PopViewControllerAnimated (true);
 }