mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
docs(): hide IAPError class
This commit is contained in:
parent
70cbcbf1e9
commit
4c4cf76f7a
@ -13,9 +13,9 @@ import { Injectable } from '@angular/core';
|
|||||||
* constructor(private store: InAppPurchase2) { }
|
* constructor(private store: InAppPurchase2) { }
|
||||||
*
|
*
|
||||||
* ...
|
* ...
|
||||||
*
|
*
|
||||||
* * @advanced
|
* * @advanced
|
||||||
*
|
*
|
||||||
* ```typescript
|
* ```typescript
|
||||||
* // After Platform Ready
|
* // After Platform Ready
|
||||||
* this.store.verbosity = this.store.DEBUG;
|
* this.store.verbosity = this.store.DEBUG;
|
||||||
@ -34,12 +34,12 @@ import { Injectable } from '@angular/core';
|
|||||||
* this.store.when(productId).updated( (product: IAPProduct) => {
|
* this.store.when(productId).updated( (product: IAPProduct) => {
|
||||||
* console.log('Loaded' + JSON.stringify(product));
|
* console.log('Loaded' + JSON.stringify(product));
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* // Issue with buying
|
* // Issue with buying
|
||||||
* this.store.when(productId).cancelled( (product) => {
|
* this.store.when(productId).cancelled( (product) => {
|
||||||
* alert('Purchase was Cancelled');
|
* alert('Purchase was Cancelled');
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* // Track All Store Errors
|
* // Track All Store Errors
|
||||||
* this.store.error( (err) => {
|
* this.store.error( (err) => {
|
||||||
* alert('Store Error ' + JSON.stringify(err));
|
* alert('Store Error ' + JSON.stringify(err));
|
||||||
@ -54,15 +54,15 @@ import { Injectable } from '@angular/core';
|
|||||||
*
|
*
|
||||||
* // Errors
|
* // Errors
|
||||||
* this.store.when(productId).error( (error) => {
|
* this.store.when(productId).error( (error) => {
|
||||||
* this.loader.dismiss();
|
* this.loader.dismiss();
|
||||||
* alert('An Error Occured' + JSON.stringify(error));
|
* alert('An Error Occured' + JSON.stringify(error));
|
||||||
* });
|
* });
|
||||||
* // Refresh Starts Handlers
|
* // Refresh Starts Handlers
|
||||||
* console.log('Refresh Store');
|
* console.log('Refresh Store');
|
||||||
* this.store.refresh();
|
* this.store.refresh();
|
||||||
*
|
*
|
||||||
* ...
|
* ...
|
||||||
*
|
*
|
||||||
* // To Purchase
|
* // To Purchase
|
||||||
* this.store.order(productId);
|
* this.store.order(productId);
|
||||||
*
|
*
|
||||||
@ -168,6 +168,9 @@ export interface IAPProductEvents {
|
|||||||
downloaded: (callback: IAPQueryCallback) => void;
|
downloaded: (callback: IAPQueryCallback) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @hidden
|
||||||
|
*/
|
||||||
export class IAPError {
|
export class IAPError {
|
||||||
code: number;
|
code: number;
|
||||||
message: string;
|
message: string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user