IActor
Functions
Link copied to clipboard
abstract fun createNotification(actionClass: Class<out NonExistentClass>, text: Array<CharSequence>): NonExistentClass
create a notification builder to display the give two line of Text.
Link copied to clipboard
create a channel to use for foreground notifications
Link copied to clipboard
abstract fun foreground(enable: Boolean, actionClass: Class<out NonExistentClass>, text: Array<CharSequence>)
Switch service to foreground and show a notification (which you have to sind API 5)
Link copied to clipboard
Set Canvas to display result read keyboard
Link copied to clipboard
finish the job
Link copied to clipboard
Set Canvas to display result read keyboard
Link copied to clipboard
abstract fun setForegroundNotificationData(channelName: CharSequence, title: CharSequence, iconId: Int)
set the parameter needed to display a foreground notification. Without the service will always run in background.