更新时间:2021-11-04 22:52:56
您可以使用的服务 API对于这一点,特别是 startForeground(INT,通知)函数调用。还有,我已经联系到API文档中提供的例子。
You can use the Service API for this, specifically the startForeground(int, Notification) function call. There is an example provided in the API documentation that I have linked to.