docs(): hide IAPError class

This commit is contained in:
Ibby Hadeed 2017-07-11 09:37:32 -04:00
parent 70cbcbf1e9
commit 4c4cf76f7a
No known key found for this signature in database
GPG Key ID: 22EFE47A3DDBDB5C

View File

@ -13,9 +13,9 @@ import { Injectable } from '@angular/core';
* constructor(private store: InAppPurchase2) { }
*
* ...
*
*
* * @advanced
*
*
* ```typescript
* // After Platform Ready
* this.store.verbosity = this.store.DEBUG;
@ -34,12 +34,12 @@ import { Injectable } from '@angular/core';
* this.store.when(productId).updated( (product: IAPProduct) => {
* console.log('Loaded' + JSON.stringify(product));
* });
*
*
* // Issue with buying
* this.store.when(productId).cancelled( (product) => {
* alert('Purchase was Cancelled');
* });
*
*
* // Track All Store Errors
* this.store.error( (err) => {
* alert('Store Error ' + JSON.stringify(err));
@ -54,15 +54,15 @@ import { Injectable } from '@angular/core';
*
* // Errors
* this.store.when(productId).error( (error) => {
* this.loader.dismiss();
* this.loader.dismiss();
* alert('An Error Occured' + JSON.stringify(error));
* });
* // Refresh Starts Handlers
* // Refresh Starts Handlers
* console.log('Refresh Store');
* this.store.refresh();
*
*
* ...
*
*
* // To Purchase
* this.store.order(productId);
*
@ -168,6 +168,9 @@ export interface IAPProductEvents {
downloaded: (callback: IAPQueryCallback) => void;
}
/**
* @hidden
*/
export class IAPError {
code: number;
message: string;