Catalog
open class Catalog : AbstractComponent
The Catalog class provides asynchronous methods for retrieving information about videos from Brightcove's Edge API services.
Network requests such as those implemented by the Catalog class sometimes fail. If the request succeeds, the listener's onVideo() method will be invoked. If an error occurs during the execution of the request, the listener's onError() method will be invoked.
Types
Functions
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.on() method.
Link copied to clipboard
Convenience method to add an EventListener for the given type using the EventEmitter.once() method.
Link copied to clipboard
open fun findPlaylistByID(playlistID: String, httpRequestConfig: HttpRequestConfig, playlistListener: PlaylistListener)
Retrieves a Playlist from the Playback API service by its playlist ID.
open fun findPlaylistByID(playlistID: String, headers: Map<String, String>, playlistListener: PlaylistListener)
open fun findPlaylistByID(playlistID: String, headers: Map<String, String>, queryParameters: Map<String, String>, playlistListener: PlaylistListener)
Link copied to clipboard
open fun findPlaylistByReferenceID(referenceID: String, httpRequestConfig: HttpRequestConfig, playlistListener: PlaylistListener)
Retrieves a Playlist from the Playback API service by its reference ID, a customer supplied unique identifier.
open fun findPlaylistByReferenceID(referenceID: String, headers: Map<String, String>, playlistListener: PlaylistListener)
open fun findPlaylistByReferenceID(referenceID: String, headers: Map<String, String>, queryParameters: Map<String, String>, playlistListener: PlaylistListener)
Link copied to clipboard
open fun findVideoByID(videoID: String, httpRequestConfig: HttpRequestConfig, videoListener: VideoListener)
Retrieves a Video from the Playback API service by its video ID.
open fun findVideoByID(videoID: String, headers: Map<String, String>, queryParameters: Map<String, String>, videoListener: VideoListener)
Link copied to clipboard
open fun findVideoByReferenceID(referenceID: String, httpRequestConfig: HttpRequestConfig, videoListener: VideoListener)
Retrieves a Video from the Playback API service by its reference ID, a customer supplied unique identifier.
open fun findVideoByReferenceID(referenceID: String, headers: Map<String, String>, videoListener: VideoListener)
open fun findVideoByReferenceID(referenceID: String, headers: Map<String, String>, queryParameters: Map<String, String>, videoListener: VideoListener)
Link copied to clipboard
Provides a reference to the EventEmitter with which this component was initialized
Link copied to clipboard
Link copied to clipboard
Removes the specified listener from the EventEmitter.
Link copied to clipboard
Removes all set listeners from the EventEmitter.