Show / Hide Table of Contents

    Interface IAnalyticsEvent

    A collection of data that is formatted and sent to an IngestionEndpoint by the IAnalyticsService.

    Namespace: IdleKit.Analytics
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IAnalyticsEvent : IInjectable

    Properties

    TimestampInMilliseconds

    The timestamp in milliseconds at which this event was created.

    Declaration
    long TimestampInMilliseconds { get; }
    Property Value
    Type Description
    Int64

    Methods

    GetEventData()

    Return the event data formatted into a form suitable for the IAnalyticsDispatcher calling this method. This is a good place to format the keys and values based on endpoint requirements.

    Declaration
    Dictionary<string, object> GetEventData()
    Returns
    Type Description
    Dictionary<String, Object>

    Initialize(Int64, Dictionary<String, Object>)

    Initializes the event with the timestamp and IAnalyticsUserData snapshot taken at the time the event was created.

    Declaration
    void Initialize(long timestampInMilliseconds, Dictionary<string, object> userData)
    Parameters
    Type Name Description
    Int64 timestampInMilliseconds

    The timestamp in milliseconds of the event.

    Dictionary<String, Object> userData

    The game specific user data. This is generally drawn from IAnalyticsUserData.

    Back to top Copyright © 2020 East Side Games Inc.