apidocs / com.nimmsta.core.android.device

Package com.nimmsta.core.android.device

Types

BLEConnectFactory

Establishes the connection to a NIMMSTADevice and returns an UARTService in order to communicate.

class BLEConnectFactory : NIMMSTADeviceConnectionFactory

DeviceConnectActivity

The DeviceConnectActivity is the basic activity for a NIMMSTA Scanner to Connect to the Android App. It is basically using the NIMMSTAConnectionManager.connectAsync method to connect by ConnectionCode.

class DeviceConnectActivity : PermissionActivity, NIMMSTAEventHandler

DeviceListActivity

Activity for DeviceList, which allows to select a device.

class DeviceListActivity : PermissionActivity, NIMMSTAEventHandler

DeviceListAdapter

Adapter for DeviceList, which holds all devices found. It also ensures devices are only there once.

class DeviceListAdapter : Adapter<ViewHolder>

NimAndroidLayoutInflater

object NimAndroidLayoutInflater

NIMMSTADeviceExtension

Java Interface for setting Layout based on resourceId.

object NIMMSTADeviceExtension

NIMMSTAHidDeviceImpl

This is a special version of NIMMSTADeviceImpl specialized for Android HID Compatbility. You can send HID chars with the sendHID API. You have to check if HID is enabled by checking allowHid first.

class NIMMSTAHidDeviceImpl : NIMMSTADeviceImpl

RecyclerItemClickListener

Based on https://stackoverflow.com/questions/24471109/recyclerview-onclick

open class RecyclerItemClickListener : OnItemTouchListener

Extensions for External Classes

com.nimmsta.core.shared.device.NIMMSTADevice

com.nimmsta.core.shared.platform.LayoutInflaterInterface