bitmovin-player-ui
    Preparing search index...

    Interface RecommendationsApi

    API for managing recommendations displayed by the RecommendationOverlay.

    interface RecommendationsApi {
        add(recommendation: RecommendationConfig): void;
        list(): RecommendationConfig[];
        remove(recommendation: RecommendationConfig): boolean;
    }
    Index

    Methods

    Methods

    • Removes a recommendation by reference and returns true if the recommendation has been part of the recommendations and successfully removed, or false if the recommendation could not be found and thus not removed.

      Parameters

      Returns boolean