SDK setup (on application start)
SDK is configured automatically by enabling Smartlook Plugin in Plugin settings:
Setup configuration
You can start recording automatically by ticking the Start Recording
option in Smartlook plugin settings. You can also provide the desired framerate:
Start and stop recording
Recording can be started or stopped at any time, the only requirement is that the SDK is set up.
Blueprint:
#include "Runtime/Analytics/Analytics/Public/Analytics.h"
#include "Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsProvider.h"
FAnalytics::Get().GetDefaultConfiguredProvider()->StartSession());
FAnalytics::Get().GetDefaultConfiguredProvider()->EndSession());
EndSession()
doesn't need to be called on application closure. Recording is stopped automatically.