registerSdkEventObserver

Register an observer for SDK-autonomous events (e.g. event-sync success/failure). Call this method only after initializing the SDK

The SDK holds a strong reference; call unregisterSdkEventObserver when the observer is no longer needed to prevent memory leaks.

Since

15.00.00

Parameters

observer

Instance of MoESdkEventObserver.

workspaceId

Account identifier (APP ID). Pass null to use the default instance.

Throws

if the SDK has not been initialized.