NotificationListenerServiceUtils

object NotificationListenerServiceUtils : CloseableUtils

Description TODO

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
Link copied to clipboard

添加通知被移除的监听器

Link copied to clipboard
fun addStateChangeListener(origin: Any, onStateChangedListener: (<Error class: unknown class>?) -> Unit): Result

添加状态改变监听器.

Link copied to clipboard
fun getService(): <Error class: unknown class>

获取 NotificationListenerService 对象

Link copied to clipboard

检查 NotificationListenerService 是否可用

Link copied to clipboard
Link copied to clipboard

移除通知被移除的监听器

Link copied to clipboard
fun removeStateChangeListener(origin: Any, onStateChangedListener: (<Error class: unknown class>?) -> Unit): Result

移除状态改变监听器