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 theAbstractOfflineCatalogasynchronous methods
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFailure(java.lang.Throwable throwable)Called when an error has happened while executing the operation.voidonSuccess(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.
-
-