Property definitions

android $ Service :: defaultinit
# Android service with its life-cycle callbacks
class Service
	# Java service with the Android context of this service
	var native: NativeService

	# The service has been created
	fun on_create do app.service = self

	# 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

	# The service is being destroyed
	fun on_destroy do app.service = null
end
lib/android/service/service.nit:110,1--125,3