apidocs / com.nimmsta.core.android.accessibilityservice / NimmstaLayoutManager

NimmstaLayoutManager

object NimmstaLayoutManager

Handles all calls to change the layout of the connected HS-50

Functions

cancelTimeoutScanNowLayout

Get's called by the WebCommunicator to cancel the current layout timeout to reset the scan now layout. Because the Weblib is active and should have control over the layout of the HS-50

fun cancelTimeoutScanNowLayout(): Unit

initialize

fun initialize(accessibilityService: NimmstaAccessibilityService): Unit

setBeginScanLayout

Shows Begin Scan Layout

fun setBeginScanLayout(device: NIMMSTADevice): Unit

setScanNowLayout

fun setScanNowLayout(device: NIMMSTADevice): Unit

setScanSuccessLayout

Shows the Scan Success Layout for 20s then switches back to the scan now layout

fun setScanSuccessLayout(device: NIMMSTADevice): Unit

setServiceErrorLayout

Shows the Accessibility Service Error Layout on the Scanner

fun setServiceErrorLayout(device: NIMMSTADevice): Unit