Airship Unity Plugin 10.0.0
  • AirshipSDK
  • AirshipAnalytics
Public Member Functions | List of all members
AirshipSDK.AirshipAnalytics Class Reference

Airship analytics. More...

Public Member Functions

void AssociateIdentifier (string key, string? identifier)
 Associate a custom identifier.
 
void TrackScreen (string screenName)
 Tracks a screen.
 
void AddCustomEvent (CustomEvent customEvent)
 Adds a custom event.
 
string GetSessionId ()
 Gets the Airship session ID.
 

Detailed Description

Airship analytics.

Member Function Documentation

◆ AddCustomEvent()

void AirshipSDK.AirshipAnalytics.AddCustomEvent ( CustomEvent  customEvent)
inline

Adds a custom event.

Parameters
customEventThe custom event.

◆ AssociateIdentifier()

void AirshipSDK.AirshipAnalytics.AssociateIdentifier ( string  key,
string?  identifier 
)
inline

Associate a custom identifier.

Previous identifiers will be replaced by the new identifiers each time AssociateIdentifier is called. It is a set operation.

Parameters
keyThe custom key for the identifier.
identifierThe value of the identifier, or null to remove the identifier.

◆ GetSessionId()

string AirshipSDK.AirshipAnalytics.GetSessionId ( )
inline

Gets the Airship session ID.

The session ID is a UUID that updates on foreground and background.

Returns
The session ID.

◆ TrackScreen()

void AirshipSDK.AirshipAnalytics.TrackScreen ( string  screenName)
inline

Tracks a screen.

Parameters
screenNameThe screen name. null to stop tracking.

Generated on Wed Sep 2 2026 21:27:03 for Airship Unity Plugin by   doxygen 1.9.8