IAnalyticsProvider::StartSession

Starts a session.

Windows
MacOS
Linux

References

Module

Analytics

Header

/Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h

Include

#include "Interfaces/IAnalyticsProvider.h"

Syntax

bool StartSession
(
    const TArray< FAnalyticsEventAttribute > & Attributes
)

Remarks

Starts a session. It's technically legal to send events without starting a session. The use case is for backends and dedicated servers to send events on behalf of a user without technically affecting the session length of the local player. Local players log in and start/end the session, but remote players simply call SetUserID and start sending events, which is legal and analytics providers should gracefully handle this. Repeated calls to this method will be ignored. *param Attributes attributes of the session. Arbitrary set of key/value pairs.

Returns

true if the session started successfully.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback