Package com.brightcove.player.edge
Class ErrorListener
- java.lang.Object
-
- com.brightcove.player.edge.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 useonError(List)
void
onError(java.util.List<CatalogError> errors)
This method must be implemented to handle any error that occurs during an asynchronous operation.
-
-
-
Method Detail
-
onError
@Deprecated public void onError(@NonNull java.lang.String error)
Deprecated.Please useonError(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
-
-