Class TCastleTenjin

Unit

Declaration

type TCastleTenjin = class(TComponent)

Description

Tenjin ( https://www.tenjin.com/ ) integration. On Android ( https://github.com/castle-engine/castle-engine/blob/master/tools/build-tool/data/android/integrated-services/tenjin/README.md ) and on iOS ( https://github.com/castle-engine/castle-engine/blob/master/tools/build-tool/data/ios/services/tenjin/README.md ).

Usage:

  1. Create an instance of this class (only a single instance allowed).

  2. Call Initialize.

  3. As necessary, use SendEvent to report custom events.

Note that Tenjin is not part of TAnalytics, as you may want to send less events to Tenjin than to other analytics services – as Tenjin's main strength is in the installation attribution, and custom events are paid above a certain count.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure Initialize(const ApiKey: String);
Public procedure SendEvent(const EventName: String);

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure Initialize(const ApiKey: String);

Initialize Tenjin analytics.

Public procedure SendEvent(const EventName: String);

Send a custom event name to Tenjin.


Generated by PasDoc 0.16.0.