FMX.Analytics.AppAnalytics.TAppAnalytics.SetEnabled
Delphi
procedure SetEnabled(const Value: Boolean); override;
C++
virtual void __fastcall SetEnabled(const bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Analytics.AppAnalytics.pas FMX.Analytics.AppAnalytics.hpp |
FMX.Analytics.AppAnalytics | TAppAnalytics |
Description
Setter for the Enabled property.
If Value
is set to True
, then this method obtains the user consent for activity tracking, invokes InstallHooks and starts collecting activity data.
If Value
is set to False
, then this method halts the collection of activity data and invokes RemoveHooks.