public HostedProductsViewController()
     : base()
 {
     // two products for sale on this page
     products = new List<string>() {hostedImagesProductId, hostedFilesystemProductId};
     iap = new InAppPurchaseManager();
 }
 public NonConsumableViewController()
     : base()
 {
     // two products for sale on this page
     products = new List<string>() {greyscaleProductId, sepiaProductId};
     iap = new InAppPurchaseManager();
 }
Exemplo n.º 3
0
 public NonConsumableViewController() : base()
 {
     // two products for sale on this page
     products = new List <string>()
     {
         greyscaleProductId, sepiaProductId
     };
     iap = new InAppPurchaseManager();
 }
Exemplo n.º 4
0
 public HostedProductsViewController() : base()
 {
     // two products for sale on this page
     products = new List <string>()
     {
         hostedImagesProductId, hostedFilesystemProductId
     };
     iap = new InAppPurchaseManager();
 }
 public HostedProductsViewController() : base()
 {
     // two products for sale on this page
     products = new List <string>()
     {
         oldeStyleProductId, eightBitProductId
     };
     iap = new InAppPurchaseManager();
 }
		public HostedProductsViewController ()
		{
			// two products for sale on this page
			products = new List<string>() {hostedImagesProductId, hostedFilesystemProductId};
			iap = new InAppPurchaseManager();
			theObserver = new CustomPaymentObserver(iap);

			// Call this once upon startup of in-app-purchase activities
			// This also kicks off the TransactionObserver which handles the various communications
			SKPaymentQueue.DefaultQueue.AddTransactionObserver(theObserver);
		}
Exemplo n.º 7
0
        public HostedProductsViewController()
        {
            // two products for sale on this page
            products = new List <string>()
            {
                hostedImagesProductId, hostedFilesystemProductId
            };
            iap         = new InAppPurchaseManager();
            theObserver = new CustomPaymentObserver(iap);

            // Call this once upon startup of in-app-purchase activities
            // This also kicks off the TransactionObserver which handles the various communications
            SKPaymentQueue.DefaultQueue.AddTransactionObserver(theObserver);
        }
 public CustomPaymentObserver(InAppPurchaseManager manager)
 {
     theManager = manager;
 }
 public CustomPaymentObserver(InAppPurchaseManager manager)
 {
     theManager = manager;
 }
		public HostedProductsViewController () : base()
		{
			// two products for sale on this page
			products = new List<string>() {oldeStyleProductId, eightBitProductId};
			iap = new InAppPurchaseManager();
		}