addSDKLifecycleObserver

open override fun addSDKLifecycleObserver(sdkLifecycleObserver: SDKLifecycleObserver): Boolean

Adds a SDKLifecycleObserver to be notified when lifecycle events occur.

Lifecycle events occur when the SDK changes its state. These events can currently arise from initialize, start, restore and release.

Return

True if the observer was successfully added, false otherwise

Parameters

sdkLifecycleObserver

The observer to be notified for events