foreground

open fun foreground(enable: Boolean, convertText: Function2<? super short[], ? super short[], CharSequence[]>, textLine1: Array<Short>, textLine2: Array<Short>)

Switch service to foreground and show a notification (which you have to sind API 5)

Parameters

enable

true: show or remove foreground service notification, false: deactivate Foreground and remove notification

convertText

the foreground text as call by name

textLine1

First Text row

textLine2

Second Text row (unused for FX-602P)