Method SetServiceDisconnectAtInitializeListener
SetServiceDisconnectAtInitializeListener(Action)
Set an optional listener for failures when connecting to the base Google Play Billing service. This may be called
after UnityPurchasing.Initialize.Initialize
if a user does not have a Google account added to their
Android device.
This listener can be used to learn that initialization is paused, and the user must add a Google account in order to be able to purchase and to download previous purchases. Adding a valid account will allow the initialization to resume.
Declaration
void SetServiceDisconnectAtInitializeListener(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | Will be called when |