Interface IGooglePlayConfiguration
Access Google Play store specific configurations.
Namespace: UnityEngine.Purchasing
Syntax
public interface IGooglePlayConfiguration : IStoreConfiguration
Properties
aggressivelyRecoverLostPurchases
aggressivelyRecoverLostPurchases is deprecated, nothing will be returns and no code will be executed.
Declaration
bool aggressivelyRecoverLostPurchases { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
SetPublicKey(String)
SetPublicKey is deprecated, nothing will be returns and no code will be executed.
Declaration
void SetPublicKey(string key)
Parameters
Type | Name | Description |
---|---|---|
String | key | deprecated, nothing will be returns and no code will be executed. |
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 |
UsePurchaseTokenForTransactionId(Boolean)
UsePurchaseTokenForTransactionId is deprecated, nothing will be returns and no code will be executed.
Declaration
void UsePurchaseTokenForTransactionId(bool usePurchaseToken)
Parameters
Type | Name | Description |
---|---|---|
Boolean | usePurchaseToken | deprecated, nothing will be returns and no code will be executed. |