System.Analytics.TAnalyticsManager.RegisterActivityListener
Delphi
procedure RegisterActivityListener(const AListener: IApplicationActivityListener);
C++
void __fastcall RegisterActivityListener(const _di_IApplicationActivityListener AListener);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | System.Analytics.pas System.Analytics.hpp | System.Analytics | TAnalyticsManager | 
Description
Registers an activity listener.
The listener inmediatelly starts receiving application activity notifications when they occur. Since the TAnalyticsManager retains a reference to the listener, if it was previously registered the method does not register it again.