Package com.pubmatic.sdk.common.session
Interface POBAppStateMonitoring
-
- All Implemented Interfaces:
public interface POBAppStateMonitoringInterface for POBAppStateMonitor operations.
-
-
Method Summary
Modifier and Type Method Description abstract Unitrelease()Releases the resources held by the app state monitor. abstract UnitaddAppLifecycleListener(POBAppStateMonitor.POBAppLifecycleListener listener)Adds a listener to receive lifecycle events. abstract UnitremoveAppLifecycleListener(POBAppStateMonitor.POBAppLifecycleListener listener)Removes a listener to receive lifecycle events. -
-
Method Detail
-
addAppLifecycleListener
abstract Unit addAppLifecycleListener(POBAppStateMonitor.POBAppLifecycleListener listener)
Adds a listener to receive lifecycle events.
- Parameters:
listener- The listener to receive lifecycle events.
-
removeAppLifecycleListener
abstract Unit removeAppLifecycleListener(POBAppStateMonitor.POBAppLifecycleListener listener)
Removes a listener to receive lifecycle events.
- Parameters:
listener- The listener to be removed from receiving lifecycle events.
-
-
-
-