android :: Service :: on_start_command
Should return either start_sticky
, start_not_sticky
or start_redeliver_intent
.
# The service received a start command (may happen more then once per service)
#
# Should return either `start_sticky`, `start_not_sticky` or `start_redeliver_intent`.
fun on_start_command(intent: JavaObject, flags, id: Int): Int do return start_sticky
lib/android/service/service.nit:118,2--121,85