我在关于服务的教程 中看到android10 +系统中的补充要求的解决方法:
如图,后面的2个参数我无法确定.我搜遍了整个论坛也没有找到相关说明.请问有什么渠道能了解呢?
===================================================
I saw a solution to the additional requirements in the android10 + system in the tutorial on services:
As shown in the figure, I cannot determine the following two parameters.I searched the entire BBS but couldn't find the relevant instructions.What channels are there to get to know?
Excuse my poor English.
内容中提到了要使用SetServiceAttribute解决问题,但是我不知道它的参数该如何给.SetServiceAttribute(Tracker, android:foregroundServiceType, "location")
如图,后面的2个参数我无法确定.我搜遍了整个论坛也没有找到相关说明.请问有什么渠道能了解呢?
===================================================
I saw a solution to the additional requirements in the android10 + system in the tutorial on services:
I mentioned using SetServiceAttribute to solve the problem, but I don't know how to give its arguments.SetServiceAttribute(Tracker, android:foregroundServiceType, "location")
As shown in the figure, I cannot determine the following two parameters.I searched the entire BBS but couldn't find the relevant instructions.What channels are there to get to know?
Excuse my poor English.