Interface ILifecycleObserver
interface ILifecycleObserver
Extends com.amazon.apmf.IStandard
Observer for listening to lifecycle events. These events are invoked by ILifecycleOwner. All
methods of this interface will be called on the UI thread.
Methods
onStart()
Signals that an onStart event occurred.voidonStart(ILifecycleOwner*owner)
Parameters
owner
ILifecycleOwner* — Required
The ILifecycleOwner.
onForeground()
Signals that an onForeground event occurred.voidonForeground(ILifecycleOwner*owner)
Parameters
owner
ILifecycleOwner* — Required
The ILifecycleOwner.
onBackground()
Signals that an onBackground event occurred.voidonBackground(ILifecycleOwner*owner)
Parameters
owner
ILifecycleOwner* — Required
The ILifecycleOwner.
onStop()
Signals that an onStop event occurred.voidonStop(ILifecycleOwner*owner)
Parameters
owner
ILifecycleOwner* — Required
The ILifecycleOwner.

