Vcl.AppAnalytics.TAppAnalytics.SendData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SendData;

C++

void __fastcall SendData();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.AppAnalytics.pas
Vcl.AppAnalytics.hpp
Vcl.AppAnalytics TAppAnalytics

Description

Sends to the server the data that has been accumulated.

Generally, there is no need to call SendData. AppAnalytics sends the data automatically at a time interval, when the cache exceeds certain size, or when the application exits.

The SendData method is generally called from the analytics thread, but SendData can also be called from main UI thread if needed.

Note: SendData blocks the network access, so running SendData in the main thread is not advised.

See Also