Interface AdviceHandler<T>
-
public interface AdviceHandler<T>Handler to handle the Advice
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.Future<T>onAdviceReceived(android.content.Context context, PolicyAdvice advice)Called when an Advice is received
-
-
-
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 contextadvice- The received Advice- Returns:
- A Future representing pending completion of handling the advice
-
-