An interface for observing changes related to purchases. The main application extends this class and registers an instance of that derived class with ResponseHandler. The main application implements the callbacks #onBillingSupported(boolean) and #onPurchaseStateChange(PurchaseState, String, int, long). These methods are used to update the UI.
コード例 #1
0
 public static void Unregister(PurchaseObserver observer)
 {
     sPurchaseObserver = null;
 }
コード例 #2
0
 public static void Register(PurchaseObserver observer)
 {
     sPurchaseObserver = observer;
 }