Package com.clover.sdk.v3.employees
Interface IEmployeeListener
-
- All Superinterfaces:
IInterface
- All Known Implementing Classes:
IEmployeeListener.Default
,IEmployeeListener.Stub
public interface IEmployeeListener extends IInterface
An interface for receiving events pertaining to an employee. Add a listener as follows,iEmployeeService.addListener(new IEmployeeListener.Stub() { @Override public void onActiveEmployeeChanged(Merchant merchant) { // active employee has changed, use it here } };
com.clover.sdk.v1.employee.EmployeeConnector
to interact with the employee serivce, you may add listeners there.- See Also:
com.clover.sdk.v1.employee.IEmployeeService
,com.clover.sdk.v1.employee.IEmployeeService#addListener(IEmployeeListener,ResultStatus)
,com.clover.sdk.v1.employee.IEmployeeService#removeListener(IEmployeeListener,ResultStatus)
,com.clover.sdk.v1.employee.EmployeeConnector
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IEmployeeListener.Default
Default implementation for IEmployeeListener.static class
IEmployeeListener.Stub
Local-side IPC implementation stub class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onActiveEmployeeChanged(Employee employee)
-
Methods inherited from interface android.os.IInterface
asBinder
-
-
-
-
Method Detail
-
onActiveEmployeeChanged
void onActiveEmployeeChanged(Employee employee) throws RemoteException
- Throws:
RemoteException
-
-