onCreate

open override fun onCreate()

A lifecycle callback method that overrides Service.onCreate.

This callback is invoked when the service is being created.