DeviceInfo provides information of the notification device.
Example Usage:
deviceInfo.getFriendlyName();
Public Methods
getFriendlyName
public String getFriendlyName()
Returns the friendly name of the notification device.
Example Usage:
String name = deviceInfo.getFriendlyName();
Returns:
java.lang.String - Returns the friendly name
getModelNumber
public String getModelNumber()
Returns the notification device model number. This information will be available only after the device is enabled.
Example Usage:
String model = deviceInfo.getModelNumber();
Returns:
java.lang.String - Returns the model string
getDeviceType
public DeviceType getDeviceType()
Returns the notification device type
Example Usage:
DeviceType deviceType = deviceInfo.getDeviceType();
Returns:
com.symbol.emdk.notification.DeviceType - Returns the DeviceType
getConnectionType
public ConnectionType getConnectionType()
Returns the notification device connection type to mobile computer.
Example Usage:
ConnectionType connectionType = deviceInfo.getConnectionType();
Returns:
com.symbol.emdk.notification.ConnectionType - Returns the ConnectionType
isDefaultDevice
public boolean isDefaultDevice()
Returns true if it is a default notification device else false.
Returns:
boolean -
isConnected
public boolean isConnected()
Returns true if the notification device is connected to the mobile computer else false.
Returns:
boolean -