/// <summary> /// This is called when we are disconnected from the MarketBillingService. /// </summary> /*override*/ public void OnServiceDisconnected(ComponentName name) { Log.Warn(TAG, "Billing service disconnected"); mService = null; }
/// <summary> /// This is called when we are connected to the MarketBillingService. /// This runs in the main UI thread. /// </summary> /*override*/ public void OnServiceConnected(ComponentName name, IBinder service) { if (Consts.DEBUG) { Log.Debug(TAG, "Billing service connected"); } lock (this) { mService = BillingServiceStub.AsInterface(service); //mService = IMarketBillingService.Stub.asInterface(service); RunPendingRequests(); } }