![]() Placing the deferral in a field for safe keeping will be enough. In order to keep the Task alive indefinitely you need to keep track of the deferral that exists on the IBackgroundTaskInstance. This gives you one method that will be invoked on startup of the Audio task named Run. The entry point is a class that implements IBackgroundTask. This is where your entry point for the Audio task will be. Creating the background service Adding the libĬreate a new Windows Runtime Component. This post is here to help you find your bearing with the new API’s. Gone is the MediaService to find the music, the BackgroundPlayer and all other classes that you were used to. ![]() Right! You are developing a new music app on Windows phone 8.1 and nothing looks like it did a week ago. ![]() The series is written in collaboration with Microsoft evangelist Peter Bryntesson, check out his blog here. This blog post is part of a series about how Windows Phone 8.1 affects developers.
0 Comments
Leave a Reply. |