Package com.brightcove.player.edge
Interface OfflineCallback<R>
-
- Type Parameters:
R
- The type of the result.
public interface OfflineCallback<R>
This interface is used to provide a result from theAbstractOfflineCatalog
asynchronous methods
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFailure(java.lang.Throwable throwable)
Called when an error has happened while executing the operation.void
onSuccess(R result)
Called when the operation has completed successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess(R result)
Called when the operation has completed successfully.- Parameters:
result
- The result of the operation.
-
onFailure
void onFailure(java.lang.Throwable throwable)
Called when an error has happened while executing the operation.- Parameters:
throwable
- Error returned to specify the reason of the failure.
-
-