Class ContentDiscovery


  • public class ContentDiscovery
    extends java.lang.Object

    Package Starting Point - The Content Discovery module provides dynamic ways to browse the content metadata and increase the flexibility for searching, filtering and organizing the various content libraries. The content is airline specific.



    * Categories can be retrieved by root content type, such as media or games.

    Items can be retrieved by the specific content type, such as media.video.movie, media.video.tvepisode and media.audio.music. In addition, Items can be retrieved by descriptor sets, such as genres, languages, actor, director, ratings or a custom value defined by the airline.

    This class includes a series of getRequest methods for the various types of data.

    With the Request object, the application may call the executeSync or executeAsync method to retrieve data synchronously or asynchronously. For asynchronous calls, data are passed back in ContentDiscovery.Listener callbacks. If the data is retrieved successfully, ContentDiscovery.Listener.onDataReceived(List, RequestBase) )} is called.

    If an error occurs, ContentDiscovery.Listener.onError(Error, RequestBase) )} is called.

    To limit the responses, applications can specify request-specific filter parameters, such as seat class, by Set methods.
    Since:
    v03.00.0.65