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/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.

Source: services/castletenjin.pas (line 42).

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TCastleTenjin

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;

This item has no description.

Source: services/castletenjin.pas (line 47).

Public destructor Destroy; override;

This item has no description.

Source: services/castletenjin.pas (line 48).

Public procedure Initialize(const ApiKey: String);

Initialize Tenjin analytics.

Source: services/castletenjin.pas (line 51).

Public procedure SendEvent(const EventName: String);

Send a custom event name to Tenjin.

Source: services/castletenjin.pas (line 53).


Generated by PasDoc 0.17.0.snapshot.