Class EOSMetricsManager
- Namespace
- PlayEveryWare.EpicOnlineServices.Samples
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
DisplayNamestringDisplay name to use for metrics tracking
ControllerTypeUserControllerTypeController type for tracked user
ServerIpstringIP of session server. NULL for local session.
SessionIdstringCustom 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
loginCallbackInfoLoginCallbackInfo
OnAuthLogout(LogoutCallbackInfo)
public void OnAuthLogout(LogoutCallbackInfo logoutCallbackInfo)
Parameters
logoutCallbackInfoLogoutCallbackInfo