Package fi.bitwards.service
Interface BitwardsService.BitwardsResourceTypeListCallback
- Enclosing class:
BitwardsService
public static interface BitwardsService.BitwardsResourceTypeListCallback
Callback to deliver Bitwards resource type list or error of the operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonError(int errorCode) An error occurred.voidonSuccess(List<BitwardsResourceType> list) Operation was successful.
-
Method Details
-
onSuccess
Operation was successful.- Parameters:
list- the list of Bitwards resource type.
-
onError
void onError(int errorCode) An error occurred.- Parameters:
errorCode- the error code
-