Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Viewing Reports

During development, reports can be views on the platform, as they would appear to a user, by navigating to the Reporting foldout in the Immerse settings. Here you will find all reports that have been sent as part of your developer session. Clicking the ‘Open’ button next to any of these links will request a signed URL from the platform and open it in the default browser. This link will remain valid for 1 hour and can be shared to other developers/managers during this time.

Requesting Statements

Statements for the current can also be requested at runtime in the application. This can be used for tracking the progress of a user within the application for things such as post-session summary or progress tracker.
The example below shows how you can request the statements for the current session:

using System.Linq;
using ImmerseSDK.Reporting;
using UnityEngine;

public class StatementPrinter : MonoBehaviour
{
    [ContextMenu("Print Now")]
    private async void PrintNow()
    {
        // Request statements and await response
        var statements = await ReportingService.Request();
        
        // Iterate through received statements
        foreach (var statement in statements)
        {
            // Print statement info to console
            Debug.LogFormat("Object: {0}, Verb: {1}",
                statement.Object.Definition.Description.First().Value, statement.Verb.Display.First().Value);
        }
    }
}