@iotize/zebra-rfid.cordova
Version:
Cordova plugin that integrates [Zebra RFID Reader SDK for android](https://www.zebra.com/gb/en/support-downloads/software/rfid-software/rfid-sdk-for-android.html).
27 lines (26 loc) • 1.12 kB
TypeScript
export declare class PluginError extends Error {
code: PluginError.Code;
constructor(msg: string, code: PluginError.Code);
static invalidErrorResult(errObject: {
code?: string | undefined;
message?: string | undefined;
}, methodName: string): PluginError;
static isValidErrorCode(code: string): code is keyof typeof PluginError.Code;
static invalidErrorCode(errObject: {
code?: string | undefined;
message?: string | undefined;
}, methodName: string): PluginError;
static notAvailable(): PluginError;
}
export declare namespace PluginError {
enum Code {
InternalError = "InternalError",
IllegalArgument = "IllegalArgument",
IllegalAction = "IllegalAction",
NotAvailable = "NotAvailable",
NO_RFID_READER_AVAILABLE = "NO_RFID_READER_AVAILABLE",
RFID_COMM_OPEN_ERROR = "RFID_COMM_OPEN_ERROR",
RFID_INVENTORY_IN_PROGRESS = "RFID_INVENTORY_IN_PROGRESS",
RFID_ACCESS_TAG_MEMORY_OVERRUN_ERROR = "RFID_ACCESS_TAG_MEMORY_OVERRUN_ERROR" /**Read size limit ? */
}
}