Method GetLocalizedIAPProductInfo
GetLocalizedIAPProductInfo(string)
This uses the purchasing adapter to get localized product info from the platform store.
Declaration
public static LocalizedProductMetadata GetLocalizedIAPProductInfo(string productId)
Parameters
Type | Name | Description |
---|---|---|
string | productId | The product ID for which you want localized info. |
Returns
Type | Description |
---|---|
LocalizedProductMetadata | A struct containing localized name and price strings. |
Exceptions
Type | Condition |
---|---|
Exception | Throws an exception if no purchasing adapter has been initialized. |