VideoListener

abstract class VideoListener : ErrorListener

VideoListener identifies objects that expect to receive a Video object from an asynchronous operation. Note that on a successful operation, onVideo() should be called. Otherwise, onError() will be called.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onError(error: String)

open fun onError(errors: List<CatalogError>)
This method must be implemented to handle any error that occurs during an asynchronous operation.
Link copied to clipboard
abstract fun onVideo(video: Video)
This method must be implemented to handle the Video object returned from an asynchronous operation.