mtrust_imp_kit library
Classes
- BatteryIndicator
- CmdWrapper
- Wrapper for the commands
- ConnectionStrategy
- Connection Strategy is the base class for different strategy types
- DeviceConnector
- DeviceConnectorSheet
- Flashing
- Widget that flashes its child
- FoundDevice
- A device that was found during scan
- ImpLocalizations
-
Callers can lookup localized strings with an instance of ImpLocalizations
returned by
ImpLocalizations.of(context)
. - ImpReader
- ImpReader is a class that provides a high-level API to interact with an IMP reader.
- IMPReaderVisualization
- A widget that shows an M-Trust P-Reader you can provide the ledColor and the ledFlashingState
- ImpSheet
- Shows a sheet that guides the user through the securalic workflow. pass the ConnectionStrategy to the sheet. The onIdentificationDone will be called if the verification was successful. The onIdentificationFailed will be called if the verification failed. Provide a builder that renders some UI with a callback to open the sheet.
- ImpWidget
- ImpWidget is a widget that guides the user through the p-Chip scanning workflow.
- LdPortal
- LdTheme
- Provides a theme to all the components in the widget tree Theme can be accessed using LdTheme.of(context)
- LdThemedAppBuilder
- Allows you to build a styled material app
- LdThemeProvider
- Provides a theme to all the components in the widget tree Theme can be accessed using LdTheme.of(context)
- RPSCustomPainter
- ScanningInstruction
- ScanningInstruction is a widget that guides the user to the correct scanning position.
- SecReaderVisualization
- A widget that shows an M-Trust SEC-Reader you can provide the ledColor and the ledFlashingState and place widgets on the screen with screenContent
- StorageAdapter
- UrpApParamters
- Parameters for START_AP and CONNECT_AP command
- UrpBatteryState
- UrpBleState
- UrpCommand
- Core Commands this are commands all devices share
- UrpCoreCommand
- UrpDeviceClass
- UrpDeviceId
- Response for GET_DEVICE_ID
- UrpDeviceIdentifier
- UrpDeviceInfo
- Response for GET_INFO command
- UrpDeviceName
- Response for GET_DEVICE_NAME (former id)
- UrpDeviceState
- UrpDeviceType
- UrpImpCommand
- UrpImpCommandWrapper
- Common CommandWrapper
- UrpImpDeviceCommand
- Common DeviceCommand
- UrpImpMeasurement
- UrpImpMeasurementResult
- UrpMessage
- UrpMessageHeader
- UrpPowerState
- UrpPublicKey
- Response for GET_PUBLIC_KEY
- UrpRequest
- UrpResponse
- UrpSetNameParameters
- Parameters for SET_NAME command
- UrpUiLocalizations
-
Callers can lookup localized strings with an instance of UrpUiLocalizations
returned by
UrpUiLocalizations.of(context)
. - UrpUsbState
- UrpWifiState
Enums
- ConnectionStatus
- The connection status
- FlashingState
- State the flashing widget is in
- ReaderConnectorMode
- StrategyAvailability
- Reports the availability of a strategy, e.g. if it is supported by the platform or if the user has disabled it (BLE or WiFi disabled)
- UrpCoreCommand_Parameters
- UrpImpCommandWrapper_Parameters
- UrpMessage_Payload
Properties
-
BleRXCharacteristicUUIDs
↔ Map<
UrpDeviceType, String> -
getter/setter pair
-
BleServiceUUIDs
↔ Map<
UrpDeviceType, String> -
getter/setter pair
-
BleTXCharacteristicUUIDs
↔ Map<
UrpDeviceType, String> -
getter/setter pair
- urpLogger → Logger
-
The logger used for the URP Core
final
- urpUiDisableAnimations ↔ bool
-
getter/setter pair
Functions
-
lookupImpLocalizations(
Locale locale) → ImpLocalizations -
lookupUrpUiLocalizations(
Locale locale) → UrpUiLocalizations
Exceptions / Errors
- CommandCancelledException
- Thrown when a command is cancelled
- ConnectionStrategyDisposedException
- Thrown when a command is cancelled because the connection strategy is disposed
- DeviceDisconnectedException
- Thrown when a command is cancelled because the device is disconnected