Package com.brightcove.ssai.data.source
Interface SSAICallback<T>
-
public interface SSAICallback<T>An SSAI callback used on asynchronous operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(java.lang.Throwable error)Called when there has been an error in the operation.voidonSuccess(T result)Called when the operation has been successful.
-
-
-
Method Detail
-
onSuccess
void onSuccess(T result)
Called when the operation has been successful.- Parameters:
result- the result
-
onError
void onError(java.lang.Throwable error)
Called when there has been an error in the operation.- Parameters:
error- the error
-
-