Class POBBackgroundHandlerProvider
-
- All Implemented Interfaces:
public final class POBBackgroundHandlerProviderProcess-wide background Handler backed by a dedicated HandlerThread.
Use getHandler to post work or obtain a android.os.Looper for framework callbacks off the main thread.
-
-
Method Summary
Modifier and Type Method Description final static POBBackgroundHandlerProvidergetInstance()Returns the singleton instance, creating and starting the HandlerThread on first use. final static HandlergetHandler()Returns the shared background Handler. final static HandlerThreadgetHandlerThread()Returns the HandlerThread associated with getHandler. -
-
Method Detail
-
getInstance
final static POBBackgroundHandlerProvider getInstance()
Returns the singleton instance, creating and starting the HandlerThread on first use.
-
getHandler
final static Handler getHandler()
Returns the shared background Handler.
-
getHandlerThread
final static HandlerThread getHandlerThread()
Returns the HandlerThread associated with getHandler.
-
-
-
-