FMX.InAppPurchase.IInAppPurchaseCallbacks.DoDownloadProgress
Delphi
procedure DoDownloadProgress(const ProductID, ContentID: string; TimeRemaining: Double; Progress: Single);
C++
virtual void __fastcall DoDownloadProgress(const System::UnicodeString ProductID, const System::UnicodeString ContentID, double TimeRemaining, float Progress) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | IInAppPurchaseCallbacks |
Description
Called during the download of a product's data.
- Note: Download of product data is only available for the iOS In-App Purchase service.
This method provides the following arguments:
ProductID
is the ID of the product.ContentID
is the ID of the content that is being downloaded.TimeRemaining
is the estimated time remaining for the download to finish, in seconds.Progress
is the progress of the download so far. Its value lies between0.0
(the download has not started yet) and1.0
(the download is complete).