Object InMobiLoggerInsights
-
- All Implemented Interfaces:
public class InMobiLoggerInsightsSingleton object managing incomplete logging sessions and providing insights into the logging system. Components can utilize this object to access incomplete logging sessions that were stopped before finishing. It offers functionalities to handle these incomplete sessions by providing options to either finish or abandon them. Additionally, components can register listeners to be notified about updates to the logging database.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceInMobiLoggerInsights.OnFinishListenerInterface for listening to new logger finishes or database updates. Implement this interface to receive notifications on new logger finishes or database changes.
-
Field Summary
Fields Modifier and Type Field Description public final static StringTAGpublic final static InMobiLoggerInsightsINSTANCE
-
Method Summary
Modifier and Type Method Description final List<IncompleteLogger>getIncompleteLoggers()Retrieves a list of incomplete loggers that were stopped before finishing. final UnitsetOnFinishListener(InMobiLoggerInsights.OnFinishListener finishListener)Sets an OnFinishListener to be notified upon new logger finishes or updates. final List<RunningLogger>getRunningLoggers()Returns of list of all the currently running logger sessions final List<WeakReference<InMobiLoggerInsights.OnFinishListener>>getListeners()-
-
Method Detail
-
getIncompleteLoggers
@WorkerThread() final List<IncompleteLogger> getIncompleteLoggers()
Retrieves a list of incomplete loggers that were stopped before finishing. Components can utilize this method to access and manage incomplete logging sessions.
- Returns:
A list of IncompleteLogger instances representing incomplete logging sessions.
-
setOnFinishListener
final Unit setOnFinishListener(InMobiLoggerInsights.OnFinishListener finishListener)
Sets an OnFinishListener to be notified upon new logger finishes or updates. Components can register listeners to handle events when new logger finishes occur or the database is updated.
- Parameters:
finishListener- The listener to be added for finish notifications or database updates.
-
getRunningLoggers
final List<RunningLogger> getRunningLoggers()
Returns of list of all the currently running logger sessions
- Returns:
a List of RunningLogger objects
-
getListeners
final List<WeakReference<InMobiLoggerInsights.OnFinishListener>> getListeners()
-
-
-
-