Package com.cognex.cmbsdk
Class MXHelper
java.lang.Object
com.cognex.cmbsdk.MXHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMXConnectApplicationId(android.content.Context context) Returns the application id (package name) of the MX Connect that is installed on the devicestatic booleanisMXConnectInstalled(android.content.Context context) Returns whether MXConnect is installed on the device
-
Field Details
-
ACTION_MX_ATTACHED
MX reader attached Intent action- See Also:
-
ACTION_MX_DETACHED
MX reader detached Intent action- See Also:
-
READER_AVAILABLE
MX reader available Intent action- See Also:
-
-
Constructor Details
-
MXHelper
public MXHelper()
-
-
Method Details
-
getMXConnectApplicationId
Returns the application id (package name) of the MX Connect that is installed on the device- Parameters:
context- the application context- Returns:
- the application id (package name) of MX Connect, null if it's not installed
-
isMXConnectInstalled
public static boolean isMXConnectInstalled(android.content.Context context) Returns whether MXConnect is installed on the device- Parameters:
context- the application context- Returns:
- true if MXConnect is installed
-