abstract class NotificationReceiverService : LifecycleService
com.google.android.managementapi.notification.NotificationReceiverService |
Service that should be extended to subscribe to receive notification from Android Management API client app.
Summary
Public constructors |
|
---|---|
<init>() Service that should be extended to subscribe to receive notification from Android Management API client app. |
Protected methods |
|
---|---|
abstract CommandListener |
Returns the CommandListener that will be notified when command related notifications are received. |
open Unit |
Method called when LifecycleService is created to allow fields and objects to be initialised. |
Public constructors
<init>
NotificationReceiverService()
Service that should be extended to subscribe to receive notification from Android Management API client app.
Protected methods
getCommandListener
protected abstract fun getCommandListener(): CommandListener
Returns the CommandListener that will be notified when command related notifications are received.
setupInjection
protected open fun setupInjection(): Unit
Method called when LifecycleService is created to allow fields and objects to be initialised.
Subclasses should override this method if they wish to set up dependency injection.