public void start ( ) { this . mHandlerThread = new HandlerThread ( "notification-handler-thread" ) ; this . mHandlerThread . start ( ) ; this . mHandler = new SPFNotificationHandler ( mHandlerThread . getLooper ( ) ) ; mHandler . postSetup ( this ) ; isRunning = true ; }
Initialize and start all the threads and resources used by SPFNotification service . Call this method to initialize the logic that handles triggers processing .