Ejemplo n.º 1
0
        public void Manual_Authenticate()
        {
            var service = new PinterestService();

            var vc = service.GetAuthenticateUI(account => {
                Console.WriteLine("AUTHENTICATE RESULT = " + account);
                AppDelegate.Shared.RootViewController.DismissModalViewControllerAnimated(true);
            });

            AppDelegate.Shared.RootViewController.PresentViewController(vc, true, null);
        }
Ejemplo n.º 2
0
        public void Manual_ShareImageTextLink()
        {
            var service = new PinterestService();

            var item = new Item {
                Text = "Hello, World",
            };

            item.Images.Add("Images/xamarin-logo.png");
            item.Links.Add(new Uri("http://xamarin.com"));

            var vc = service.GetShareUI(item, result => {
                Console.WriteLine("SHARE RESULT = " + result);
                item.Dispose();
                AppDelegate.Shared.RootViewController.DismissModalViewControllerAnimated(true);
            });

            AppDelegate.Shared.RootViewController.PresentViewController(vc, true, null);
        }
 internal PinterestBoardsEndpoint(PinterestService service)
 {
     Service = service;
 }
Ejemplo n.º 4
0
 internal PinterestPinsEndpoint(PinterestService service)
 {
     Service = service;
 }
 internal PinterestPinsEndpoint(PinterestService service) {
     Service = service;
 }