Interface Recommendation.OnGenreReceivedListener
-
- All Superinterfaces:
Recommendation.Listener
- Enclosing class:
- Recommendation
public static interface Recommendation.OnGenreReceivedListener extends Recommendation.Listener
Recommendation.OnGenreReceivedListeneris called once theRecommendation.getGenre(String, String, OnGenreReceivedListener)request completes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonGenreReceived(java.util.Map<java.lang.String,java.lang.String> genreMap)The callback invoked when the genre request completes successfully.-
Methods inherited from interface aero.panasonic.inflight.services.recommendation.v1.Recommendation.Listener
onError
-
-
-
-
Method Detail
-
onGenreReceived
void onGenreReceived(java.util.Map<java.lang.String,java.lang.String> genreMap)
The callback invoked when the genre request completes successfully.- Parameters:
genreMap- A map containing genre keys and their corresponding names. For example:{ "comedy": "comedia", "romance": "romance" }
-
-