Setup & Start Recording
This section deals with how to setup Smartlook SDK and start recording the application.
To start recording, just put the following code into the application. Once the application runs on a device or in a simulator, recording will appear in the dashboard.
Some Android simulators are not very reliable when running low-level libraries like Smartlook. Testing on real devices is preferred when debugging an application that utilizes Smartlook.
In order to function properly, the setup should happen as soon as possible in the application life cycle:
This is basically all that is needed to record the sessions. All other events in the application life cycle are handled by Smartlook automatically.
It may take several minutes before the recordings appear in the Dashboard. In the default setup, recordings are not uploaded when the device is on a mobile network. For the recordings being available immediately, the device must be on Wi-Fi, or mobile uploads must be enabled in the project dashboard. The recording is not streamed, it is uploaded in chunks and then processed on the server. An in-depth description when the recordings will be available in the project dashboard will provide this document.
Smartlook recording can be customized by several parameters. Some of the recording customization options can be set by dedicated methods, some others can also be set as startup options.
Not all options are available on all platforms. For a comprehensive list of all the setup options and related details, consult our API reference.