ProfileManager class

Zebra MX ProfileManager operations (Pigeon-backed): apply profiles, request content-provider permissions, map hardware keys, and read OEM-info URIs.

The profile-applying calls are fire-and-forget: they return immediately and the result is delivered on onData.

Available extensions

Constructors

ProfileManager({ProfileHostApi? api})

Properties

hashCode int
The hash code for this object.
no setterinherited
onData Stream<ProfileResultData>
Results of processed MX profiles.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addKeyListener(KeyIdentifier key) → void
Maps key to broadcast a KEY_DOWN_EVENT when pressed (delivered via KeyEventManager.onKeyDown). Result on onData.
clearPairedBluetoothDevices() → void

Available on ProfileManager, provided by the MxCommands extension

disconnectScanner() → void

Available on ProfileManager, provided by the MxCommands extension

enableEnterpriseKeyboard({required String currentLocale, bool showVirtualKeyboard = true}) → void

Available on ProfileManager, provided by the MxCommands extension

fullDeviceWipe() → void

Available on ProfileManager, provided by the MxCommands extension

getBluetoothMac() Future<String?>
getBuildSerial() Future<String?>
getPairingCode() Future<String?>
getPeripheralBatteryInfo() Future<String?>
getProductModel() Future<String?>
getWifiMac() Future<String?>
locateScanner() → void

Available on ProfileManager, provided by the MxCommands extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processProfileAsync(String characteristics) → void
Sends MX XML characteristics block(s) to the Profile Manager. Result on onData.
reboot() → void

Available on ProfileManager, provided by the MxCommands extension

requestBluetoothMacPermission() → void
requestBuildSerialPermission() → void
requestPeripheralBatteryInfoPermission() → void
requestProductModelPermission() → void
requestServicePermission(String uri) → void
Requests an AccessMgr permission for a content-provider uri. Result on onData.
requestWifiMacPermission() → void
resetAllKeyMappings() → void
Resets all key mappings to factory defaults. Result on onData.
resetScanner() → void

Available on ProfileManager, provided by the MxCommands extension

resolveCursorUri(String uri) Future<String?>
Reads a single-value Zebra OEMinfo content URI (e.g. the Bluetooth MAC).
setAutoRotateState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setBluetoothPairing(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setBluetoothPairingPopupState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setBluetoothState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setLargeScreenTaskbarState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setNavigationBarState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setNfcPairing(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setNfcState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setNotificationPullDownState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setRecentAppButtonState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setScreenBrightness(int level) → void

Available on ProfileManager, provided by the MxCommands extension

setScreenLockType(int type) → void

Available on ProfileManager, provided by the MxCommands extension

setScreenTimeout(int seconds) → void

Available on ProfileManager, provided by the MxCommands extension

setStatusBarState(bool enabled) → void

Available on ProfileManager, provided by the MxCommands extension

setSystemAppState({required String package, required bool enabled}) → void

Available on ProfileManager, provided by the MxCommands extension

startActivity({String? actionName, String? package, String? className}) → void

Available on ProfileManager, provided by the MxCommands extension

toString() String
A string representation of this object.
inherited
unpairScanner() → void

Available on ProfileManager, provided by the MxCommands extension

Operators

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