IActor

interface IActor : IForegroundService

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Inheritors

Functions

Link copied to clipboard
abstract fun add(job: Job)
add a new job to work queue
Link copied to clipboard
protected open fun clone(): Any
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
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
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
abstract fun getActivity(): Activity
Set Canvas to display result read keyboard
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun jobsFinished(): Boolean
finish the job
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
abstract fun setActivity(activity: Activity)
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.

Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()