public interface IMerchantListener extends IInterface
iMerchantService.addListener(new IMerchantListener.Stub() {
@Override
public void onMerchantChanged(Merchant merchant) {
// merchant has changed, use it here
}
};
If using MerchantConnector
to interact with the merchant
serivce, you may add listeners there.Modifier and Type | Interface and Description |
---|---|
static class |
IMerchantListener.Default
Default implementation for IMerchantListener.
|
static class |
IMerchantListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onMerchantChanged(Merchant merchant) |
asBinder
void onMerchantChanged(Merchant merchant) throws RemoteException
RemoteException