[英]Audible push notification when app is in kill mode
I want to play notification body as audio when notification arrives from the server while app is in killed mode or in background mode.当应用程序处于终止模式或后台模式时,当通知从服务器到达时,我想将通知正文作为音频播放。
Here is the example if in my notification payload body = "This is the audible push notification."这是示例,如果在我的通知负载正文中 =“这是可听的推送通知。” then audio will play "This is the audible push notification" like text to speech conversion in killed mode.然后音频将播放“这是可听的推送通知”,就像在终止模式下的文本到语音转换一样。
Let me know if it's possible.如果可能,请告诉我。 Please check this link to understand it better 请检查此链接以更好地理解它
Thanks in advance.提前致谢。
I want to play notification body as audio when notification arrives from the server while app is in killed mode or in background mode.当应用程序处于终止模式或后台模式时,当通知从服务器到达时,我想将通知正文作为音频播放。
Here is the example if in my notification payload body = "This is the audible push notification."这是示例,如果在我的通知负载正文中 =“这是可听的推送通知。” then audio will play "This is the audible push notification" like text to speech conversion in killed mode.然后音频将播放“这是可听的推送通知”,就像在终止模式下的文本到语音转换一样。
Let me know if it's possible.如果可能,请告诉我。 Please check this link to understand it better 请检查此链接以更好地理解它
Thanks in advance.提前致谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.