Class ErrorListener

  • Direct Known Subclasses:
    PlaylistListener, VideoListener

    public abstract class ErrorListener
    extends java.lang.Object
    ErrorListener identifies objects that might receive an error from an asynchronous operation.
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void onError​(java.lang.String error)
      Deprecated.
      Please use onError(List)
      void onError​(java.util.List<CatalogError> errors)
      This method must be implemented to handle any error that occurs during an asynchronous operation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorListener

        public ErrorListener()
    • Method Detail

      • onError

        @Deprecated
        public void onError​(@NonNull
                            java.lang.String error)
        Deprecated.
        Please use onError(List)
      • onError

        public void onError​(@NonNull
                            java.util.List<CatalogError> errors)
        This method must be implemented to handle any error that occurs during an asynchronous operation.
        Parameters:
        errors - the list of Catalog errors