Package com.clover.remote.client
Class USBCloverDeviceConfiguration
java.lang.Object
com.clover.remote.client.USBCloverDeviceConfiguration
- All Implemented Interfaces:
CloverDeviceConfiguration,Serializable
public class USBCloverDeviceConfiguration
extends Object
implements CloverDeviceConfiguration, Serializable
Default configuration to communicate with the Mini via USB connection
- See Also:
-
Field Summary
Fields inherited from interface com.clover.remote.client.CloverDeviceConfiguration
REMOTE_SDK -
Constructor Summary
ConstructorsConstructorDescriptionUSBCloverDeviceConfiguration(android.content.Context ctx, String appId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the application ID broadcast on all messages sent to the remote deviceRetrieve the class name of the clover device instantiated during theCloverConnector.initializeConnection()call.Retrieve the configuration specified transport (e.g.intRetrieve the max message charactersRetrieve the package name broadcast on all messages sent to the remote devicegetName()Retrieve the device configuration name
-
Constructor Details
-
USBCloverDeviceConfiguration
Constructor- Parameters:
ctx- the application contextappId- the remote application ID
-
-
Method Details
-
getCloverDeviceTypeName
Description copied from interface:CloverDeviceConfigurationRetrieve the class name of the clover device instantiated during theCloverConnector.initializeConnection()call.- Specified by:
getCloverDeviceTypeNamein interfaceCloverDeviceConfiguration- Returns:
- the canonical class name
-
getMessagePackageName
Description copied from interface:CloverDeviceConfigurationRetrieve the package name broadcast on all messages sent to the remote device- Specified by:
getMessagePackageNamein interfaceCloverDeviceConfiguration- Returns:
- package name
-
getName
Description copied from interface:CloverDeviceConfigurationRetrieve the device configuration name- Specified by:
getNamein interfaceCloverDeviceConfiguration- Returns:
- name
-
getMaxMessageCharacters
public int getMaxMessageCharacters()Description copied from interface:CloverDeviceConfigurationRetrieve the max message characters- Specified by:
getMaxMessageCharactersin interfaceCloverDeviceConfiguration- Returns:
- max numner characters
-
getCloverTransport
Description copied from interface:CloverDeviceConfigurationRetrieve the configuration specified transport (e.g. network, etc.) associated with this configuration. Note that the underlying connection for the transport is not made as a part of this call.- Specified by:
getCloverTransportin interfaceCloverDeviceConfiguration- Returns:
- disconnected transport
-
getApplicationId
Description copied from interface:CloverDeviceConfigurationRetrieve the application ID broadcast on all messages sent to the remote device- Specified by:
getApplicationIdin interfaceCloverDeviceConfiguration- Returns:
- application ID
-