Package-level declarations

Types

Link copied to clipboard
@Serializable
class ActionResponse

This class represents the format of responses we get from the NIMMSTA App

Link copied to clipboard
class AttachLightTagAction(val macAddress: String, val location: String) : IAction

this action attached a location to a light tag.

Link copied to clipboard
class BluetoothCompatibilityAction(bluetoothCompatibilityModeActive: Boolean? = null) : IAction

This action sets or gets compatibility mode for bluetooth.

Link copied to clipboard

This action cancels all current connection attempts

Link copied to clipboard
class CancelConnectAction(addressOrCode: String) : IAction

This action cancels a current connection attempt You need to provide the address or the connection code that was used to initiate the connection attempt

Link copied to clipboard

This action cancels the search for new devices

Link copied to clipboard
class ConnectToAddressAction(address: String, scanTimeout: Int?) : IAction

This action triggers a connection attempt to a device with the given address

Link copied to clipboard
class ConnectToConnectionCodeAction(connectionCode: String, scanTimeout: Int?) : IAction

This action triggers a connection attempt to a device with the given connection code

Link copied to clipboard
class DetachLightTagAction(val macAddress: String) : IAction

This action detaches a location from a light tag.

Link copied to clipboard
class DisconnectAction(shutdown: Boolean = false) : IAction

This action disconnects a device (and shutdowns it if wanted)

Link copied to clipboard

This action displays the connect activity to connect a new scanner

Link copied to clipboard

Action that gets a newly generated connection code from the api To see what data gets returned see GetConnectionCodeResponse

Link copied to clipboard
@Serializable
class GetConnectionCodeResponse
Link copied to clipboard

Action that gets infos of the scanner

Link copied to clipboard
@Serializable
class GetDeviceInfoResponse : DeviceState
Link copied to clipboard

This action gets a list of devices and the manager settings

Link copied to clipboard
interface IAction

Interface for actions we send to the NIMMSTA App

Link copied to clipboard

Action that gets infos of the scanner

Link copied to clipboard
class PerformSoftwareUpdateAction(filePath: String, securityToken: String, selectedComponents: List<SoftwareUpdateInfo>?) : IAction

Performs a software update. Make sure to check the update with ValidateSoftwareUpdateAction first.

Link copied to clipboard
Link copied to clipboard

This action sets the layout used when no app is connected to intent service.

Link copied to clipboard

This action sets the settings for the connection manager

Link copied to clipboard
class SetDecoderBoardSettingsAction(settings: JsonObject) : IAction

Action that sends and sets new decoderboard settings

Link copied to clipboard
class SetDesiredLightTagsAction(val locations: List<String>, val config: LightTagIlluminationConfig = LightTagIlluminationConfig.Default) : IAction

This action illuminates light tags or turns them off (providing locations an empty array will turn off all light tags).

Link copied to clipboard
class SetDesiredLightTagsWithMacAddressAction(val macAddresses: List<String>, val config: LightTagIlluminationConfig = LightTagIlluminationConfig.Default) : IAction

This action illuminates light tags or turns them off (providing locations an empty array will turn off all light tags).

Link copied to clipboard

Action that sets the information about the device.

Link copied to clipboard

This action sets the layout on the scanner

Link copied to clipboard
class SetLayoutForAction(layout: NIMMSTALayout, timeout: Int) : IAction

This action set the layout on the scanner for a given time. Previous layout is shown afterwards

Link copied to clipboard
class SetLEDColorAction(red: Int, green: Int, blue: Int) : IAction

This actions sets the color of the LED of the scanner

Link copied to clipboard

This action sets the screen orientation of the device See ScreenOrientation for possible values

Link copied to clipboard
@Serializable
class SoftwareUpdateInfo
Link copied to clipboard

This action stops reconnecting to a device

Link copied to clipboard
class TriggerBeeperBurstAction(repeat: Int, duration: Int, pulseDuration: Int, intensity: Int) : IAction

This action triggers the beeper of the scanner in a given pattern

Link copied to clipboard
class TriggerImagerAction(duration: Int) : IAction

This action triggers the imager on the scanner for the given duration

Link copied to clipboard
class TriggerLEDBurstAction(repeat: Int, duration: Int, pulseDuration: Int, red: Int, green: Int, blue: Int) : IAction

This action triggers the LED of the scanner in a given pattern and color

Link copied to clipboard

This action triggers the SOS signal on the scanner 3x Beep, red LED, vibration

Link copied to clipboard
class TriggerVibratorBurstAction(repeat: Int, duration: Int, pulseDuration: Int, intensity: Int) : IAction

This action triggers the vibrator of the scanner in a given pattern

Link copied to clipboard
class UpdateLayoutAction(parameters: Map<String, String>) : IAction

This action updates a given layout on the scanner Parameters have to be the names of the elements in the already displayed layout for this to have any effect

Link copied to clipboard
class ValidateSoftwareUpdateAction(file: String, securityToken: String) : IAction

This action disconnects a device (and shutdowns it if wanted)