FMX.Advertising.TCustomBannerAd.OnActionCanBegin

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

Delphi

property OnActionCanBegin: TAdActionCanBeginEvent read FOnActionCanBegin write FOnActionCanBegin;

C++

__property TAdActionCanBeginEvent OnActionCanBegin = {read=FOnActionCanBegin, write=FOnActionCanBegin};

プロパティ

種類 可視性 ソース ユニット
event public
FMX.Advertising.pas
FMX.Advertising.hpp
FMX.Advertising TCustomBannerAd


説明

ユーザーが広告バナーをタップした後、バナーがこのユーザー アクションに応答する前に発生します。

このイベントを処理して、バナーがユーザー アクションに応答(通常は広告の全画面表示)するべきかどうかを判断することができます。

このイベントは、イベント ハンドラに対して以下の引数を渡します。

  • Sender広告バナー コントロールの現在のインスタンスです。
  • WillLeaveApplication: 広告をアプリケーション内に表示するべきかどうかを示します。WillLeaveApplication が true の場合、広告はブラウザの新しいページに表示されます。そうでなければ、広告はアプリケーション内に表示されます。

関連項目