Package com.clover.sdk.v1
Interface ServiceConnector.Callback<T>
-
- Type Parameters:
T
- the data type returned by the method call
- All Known Implementing Classes:
EmployeeConnector.EmployeeCallback
,MerchantConnector.MerchantCallback
,PrinterConnector.PrinterCallback
,ReceiptRegistrationConnector.ReceiptRegistrationCallback
,ServiceCallback
,TenderConnector.TenderCallback
- Enclosing class:
- ServiceConnector<S extends IInterface>
public static interface ServiceConnector.Callback<T>
Responds to the results of a call to aServiceConnector
method. All the callback methods are executed on the main thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onServiceConnectionFailure()
void
onServiceFailure(ResultStatus status)
void
onServiceSuccess(T result, ResultStatus status)
-
-
-
Method Detail
-
onServiceSuccess
void onServiceSuccess(T result, ResultStatus status)
-
onServiceFailure
void onServiceFailure(ResultStatus status)
-
onServiceConnectionFailure
void onServiceConnectionFailure()
-
-