Interface BridgeInterface interface BridgeInterface { options : CdvPurchase . GooglePlay . Bridge . Options ; acknowledgePurchase ( success ,
fail ,
purchaseToken ) : void ; buy ( success ,
fail ,
productId ,
additionalData ) : void ; consumePurchase ( success ,
fail ,
purchaseToken ) : void ; getAvailableProducts ( inAppSkus ,
subsSkus ,
success ,
fail ) : void ; getPurchases ( success ,
fail ) : void ; getStorefront ( success ,
fail ) : void ; init ( success ,
fail ,
options ) : void ; launchPriceChangeConfirmationFlow ( productId ) : void ; load ( success ,
fail ,
skus ,
inAppSkus ,
subsSkus ) : void ; manageBilling ( ) : void ; manageSubscriptions ( ) : void ; subscribe ( success ,
fail ,
productId ,
additionalData ) : void ; } Methods acknowledge Purchase acknowledge Purchase ( success , fail , purchaseToken ) : void Returns void buy buy ( success , fail , productId , additionalData ) : void Returns void consume Purchase consume Purchase ( success , fail , purchaseToken ) : void Returns void get Available Products get Available Products ( inAppSkus , subsSkus , success , fail ) : void Returns void get Purchases get Purchases ( success , fail ) : void Returns void get Storefront get Storefront ( success , fail ) : void Returns void init init ( success , fail , options ) : void Returns void launch Price Change Confirmation Flow launch Price Change Confirmation Flow ( productId ) : void Returns void load load ( success , fail , skus , inAppSkus , subsSkus ) : void Returns void manage Billing manage Billing ( ) : void Returns void manage Subscriptions manage Subscriptions ( ) : void Returns void subscribe subscribe ( success , fail , productId , additionalData ) : void Returns void
Shared interface for Google Play bridge implementations. Both Cordova and Capacitor bridges implement this interface. The adapter programs against this interface, not a concrete class.