音频播放代理中的后台进程 [英] Background process in Audio Play back agent

查看:72
本文介绍了音频播放代理中的后台进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我看到一些Windows手机应用程序正在使用音频播放代理来保持一些连续处理或使服务器保持会话活着而不是播放一些歌曲当你播放一些声音时这会停止工作背景和每秒后继续检查。


他们如何在Windows手机中实现这一目标。是否有一些方法可以调用来完成这件事。

解决方案


不确定是否使用音频播放代理除了原始意图之外的其他目的。


您可以通过UserIdleDetectionMode和ApplicationIdleDetectionMode控制应用程序保持活动状态。


http://andreassaudemont.com/post/1068697622/useridledetectionmode-and-applicationidledetectionmode


- 标记


I have seen some windows phone apps are using Audio Playback agent to keep some continuous processing or keep session alive with server instead playing some song and this stops working when you play some sound in background ans keep checking after each second.

How they are achieving this in Windows phone.? Is there some method to invoke to get this thing done.?

解决方案

Hi,

Not sure regarding using the audio playback agent for a purpose other than its original intent.

You can control the application keep alive behavior via UserIdleDetectionMode and ApplicationIdleDetectionMode.

http://andreassaudemont.com/post/1068697622/useridledetectionmode-and-applicationidledetectionmode

-Mark


这篇关于音频播放代理中的后台进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆