External Accessory Management

The External Accessory Management (EAM) is the first object used when communicating with each plugin:

  • To connect to the device
  • To view the connection status
  • To take care of settings
  • To close the connection
  • ... and more

To use the Factory, an EAManagement object for the requested PSP is fetched (IEAManagement object):

Copy
ExternalAccessoryType psp = LSPay.Factory.ExternalAccessoryType.Mock;
IEAManagement eam = LSPay.Factory.PluginFactory.GetPluginFactory().GetEAM(psp, selectedPluginId));

Now an External Accessory Management (EAM) object is accessible, of the type IEAManagement, in the variable eam.

All plugins supported by LS Pay are listed in the enum ExternalAccessoryType.

See also

LS Pay - EAManagement