简体   繁体   English

即使应用程序被杀死,如何获得设备锁定和解锁?

[英]How to get device lock and unlock even when the application was killed?

Enabled background modes on I was getting device lock and unlock state when the application is in background or foreground.But not abled to get state when the application was killed. 在启用的后台模式下,当应用程序处于后台或前景时我获得了设备锁定和解锁状态,但是当应用程序被终止时无法获得状态。 How to get the state even when the app was killed? 即使应用被杀死,如何获得状态?

This feature is not available in iOS. 此功能在iOS中不可用。

We can detect only application background, foreground, suspend and terminate 我们只能检测到应用程序的背景,前景,挂起和终止

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 即使应用程序处于后台,如何在iPhone / iPad中获取设备解锁计数 - How to get device unlock count in iphone/ipad even if the application is in background 暂停应用程序后,如何在iPhone上获取屏幕锁定/解锁事件? - How to get screen lock/unlock events on the iPhone when app is suspended? 如何使用锁定/解锁? - How to use Lock/Unlock? 应用程序在后台运行时如何监听锁定/解锁手机事件? - How to listen to lock / unlock phone event while application is running in the background? 使用 VOIP 杀死应用程序时如何获取呼叫通知 - How to get the call notification when application is killed using VOIP 当应用程序被杀死时,如何获取准确的位置更新? - How to get accurate location update when application is killed? 当应用程序被杀死或后台时如何更新估计位置的设备位置 - how to update device position in estimote indoor location when application is killed or Background 如何解锁方向锁 SwiftUI - How to unlock Orientation Lock SwiftUI 即使被取消,如何从应用程序中检测手动时间更改 - How to detect manual time change from application even if it is killed 应用程序被杀死时如何请求数据? - How to request data when application is killed?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM