Skip to content

Application Events

Optional

Needed if your app has a user-facing UI (map, blue dot, calibration or navigation UI).

As of IPSFramework v4.0.0 SDK, we exposed APIs for reporting the application UI state. This will allow Oriient to provide you with better insights and data analytics on user behavior.

Registering Application Events

To register an application event, simply call the following endpoint:

IPSCore.registerApplicationEvent(event)

The supported event types are:

public enum IPSApplicationEvent {
    case calibrationDialogPresented
    case calibrationDialogHidden

    case mapPresented
    case mapHidden

    case userPositionPresented
    case userPositionHidden

    case navigationPathPresented
    case navigationPathHidden

    case walkToLockIndicatorPresented
    case walkToLockIndicatorHidden
}

Info

Since SDK 9.0.0 the calibration dialog is no longer part of the SDK (it is available in the Oriient sample app), so register the calibration dialog events whenever your calibration UI is presented / hidden — unless the dialog implementation you use already registers them.