EmdkManager class

Entry point for the Zebra EMDK.

Pigeon-backed faithful wrapper around EMDKManager. This is a pure Zebra API; any cross-SDK abstraction lives in a separate aggregator package (see docs/AGGREGATOR_DESIGN.md).

final emdk = EmdkManager();
if (!await emdk.isSupported()) return; // not a Zebra device
emdk.onOpened.listen((_) { /* EMDK ready */ });
await emdk.initialize();

Constructors

EmdkManager({EmdkHostApi? api})

Properties

barcodeManager → BarcodeManager
no setter
hashCode → int
The hash code for this object.
no setterinherited
keyEventManager → KeyEventManager
no setter
notificationManager → NotificationManager
no setter
onClosed → Stream<void>
Fires when the EMDK connection is closed.
no setter
onOpened → Stream<void>
Fires when the EMDK is opened and all feature managers are available.
no setter
profileManager → ProfileManager
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<bool>
Releases all EMDK resources.
initialize() → Future<EMDKStatusCode?>
Requests the EMDK Manager from the OS. Returns the immediate EMDKStatusCode; the EMDK becomes usable once onOpened fires.
isSupported() → Future<bool>
True only on a Zebra device with the EMDK runtime present. Safe to call on any device (never throws). The aggregator uses this to decide whether to route to this plugin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited