Method RefreshAppReceipt
RefreshAppReceipt(Action<string>, Action<string>)
Fetch the latest App Receipt from Apple. This requires an Internet connection and will prompt the user for their credentials.
Declaration
void RefreshAppReceipt(Action<string> successCallback, Action<string> errorCallback)
Parameters
Type | Name | Description |
---|---|---|
Action<string> | successCallback | This action will be called when the refresh is successful. The receipt will be passed through. |
Action<string> | errorCallback | This action will be called when the refresh is in error. The error's details will be passed through. |
RefreshAppReceipt(Action<string>, Action)
Fetch the latest App Receipt from Apple. This requires an Internet connection and will prompt the user for their credentials.
Declaration
[Obsolete("RefreshAppReceipt(Action<string> successCallback, Action errorCallback) is deprecated, please use RefreshAppReceipt(Action<string> successCallback, Action<string> errorCallback) instead.")]
void RefreshAppReceipt(Action<string> successCallback, Action errorCallback)
Parameters
Type | Name | Description |
---|---|---|
Action<string> | successCallback | This action will be called when the refresh is successful. The receipt will be passed through. |
Action | errorCallback | This action will be called when the refresh is in error. |