DnDService

Functions

Link copied to clipboard
abstract fun acquireDependencies(resolver: ServiceResolver<Base>)
Called after all services are registered, but none are started.
Link copied to clipboard
abstract fun getAccountDnDPlan(accountId: String): Optional<Xml>
Link copied to clipboard
abstract fun getGlobalDnDPlan(): Xml
Link copied to clipboard
abstract fun isDnDForAccountEnabled(accountId: String): Boolean
Link copied to clipboard
abstract fun isDnDGlobalEnabled(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onServiceStarted()
Called after acquireDependencies
Link copied to clipboard
open fun onServiceStopped()
Called on teardown.
Link copied to clipboard
abstract fun setAccountDnDPlan(accountId: String, plan: Xml)
Link copied to clipboard
abstract fun setDnDForAccount(accountId: String, enable: Boolean)
Link copied to clipboard
abstract fun setDnDGlobal(enable: Boolean)
Link copied to clipboard
abstract fun setGlobalDnDPlan(plan: Xml)
Link copied to clipboard
abstract fun toggleDnDForAccount(accountId: String)
Link copied to clipboard
abstract fun toggleDnDGlobal()