1 package android.service.settings.suggestions;
2 
3 import android.service.settings.suggestions.Suggestion;
4 
5 import java.util.List;
6 
7 /** @hide */
8 interface ISuggestionService {
9 
10     /**
11      * Return all available suggestions.
12      */
getSuggestions()13     List<Suggestion> getSuggestions() = 1;
14 
15     /**
16      * Dismiss a suggestion. The suggestion will not be included in future {@link #getSuggestions)
17      * calls.
18      */
19     void dismissSuggestion(in Suggestion suggestion) = 2;
20 
21     /**
22      * This is the opposite signal to {@link #dismissSuggestion}, indicating a suggestion has been
23      * launched.
24      */
25     void launchSuggestion(in Suggestion suggestion) = 3;
26 }