Table of Contents

Class EOSMetricsManager

Class EOSMetricsManager is a simplified wrapper for EOS Metrics Interface.

public class EOSMetricsManager : IEOSSubManager, IAuthInterfaceEventListener
Inheritance
EOSMetricsManager
Implements
IAuthInterfaceEventListener

Constructors

EOSMetricsManager()

public EOSMetricsManager()

Methods

BeginSession(string, UserControllerType, string, string)

Wraps EOS_Metrics_BeginPlayerSession functionality

public void BeginSession(string DisplayName, UserControllerType ControllerType = null, string ServerIp = null, string SessionId = null)

Parameters

DisplayName string

Display name to use for metrics tracking

ControllerType UserControllerType

Controller type for tracked user

ServerIp string

IP of session server. NULL for local session.

SessionId string

Custom string identifier for game session

EndSession()

Wraps EOS_Metrics_EndPlayerSession functionality

public void EndSession()

IsSessionActive()

Checks if a metrics session is active

public bool IsSessionActive()

Returns

bool

True if an EOS Metrics sessions is active

OnAuthLogin(LoginCallbackInfo)

public void OnAuthLogin(LoginCallbackInfo loginCallbackInfo)

Parameters

loginCallbackInfo LoginCallbackInfo

OnAuthLogout(LogoutCallbackInfo)

public void OnAuthLogout(LogoutCallbackInfo logoutCallbackInfo)

Parameters

logoutCallbackInfo LogoutCallbackInfo