Interface AdviceHandler<T>


  • public interface AdviceHandler<T>
    Handler to handle the Advice
    • Method Detail

      • onAdviceReceived

        @WorkerThread
        java.util.concurrent.Future<T> onAdviceReceived​(android.content.Context context,
                                                        PolicyAdvice advice)
        Called when an Advice is received
        Parameters:
        context - The current Activity context
        advice - The received Advice
        Returns:
        A Future representing pending completion of handling the advice