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 since API 5)
Parameters
Enable
true: show or remove foreground service notification, false: deactivate Foreground and remove notification
Text
one or two line to display.
Text_1
First Text row
Text_2
Second Text row (unused for FX-602P)
Note: called periodically. Do not log.