FMX.InAppPurchase.TProduct.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(const ProductID: string; Price: Double;  const LocalizedPrice, LocalizedTitle, LocalizedDescription: string; Downloadable: Boolean; const DownloadContentLengths: TDownloadLengths; DownloadContentVersion: string);

C++

__fastcall TProduct(const System::UnicodeString ProductID, double Price, const System::UnicodeString LocalizedPrice, const System::UnicodeString LocalizedTitle, const System::UnicodeString LocalizedDescription, bool Downloadable, const TDownloadLengths DownloadContentLengths, System::UnicodeString DownloadContentVersion);

プロパティ

種類 可視性 ソース ユニット
constructor public
FMX.InAppPurchase.pas
FMX.InAppPurchase.hpp
FMX.InAppPurchase TProduct


説明

TProduct のインスタンスを、指定された製品データで作成します。

メモ: TInAppPurchase を使用する場合、TProduct のインスタンスは作成しません。代わりに、リクエストしてアプリケーション内決済サービスから取得します。詳細については、TProduct を参照してください。

このコンストラクタから想定しているすべてのパラメータは、結果の TProduct のインスタンスのプロパティ内に格納されます:

パラメータ Property
ProductID ProductID
Price Price
LocalizedPrice LocalizedPrice
LocalizedTitle LocalizedTitle
LocalizedDescription LocalizedDescription
Downloadable Downloadable
DownloadContentLengths DownloadContentLengths
DownloadContentVersion DownloadContentVersion

TProduct のインスタンスは、読み取り専用です。一旦作成した後は、TProduct のプロパティ を変えることはできません。