AudioStreamingAgent Class
Windows Phone
March 22, 2012
A background agent that performs per-track streaming for playback.
Namespace:
Microsoft.Phone.BackgroundAudio
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
The AudioStreamingAgent type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | Informs the operating system that the agent is unable to perform its intended task and that it should not be launched again until the foreground application mitigates the blocking issue and reenables the agent. (Inherited from BackgroundAgent.) |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
NotifyComplete | Informs the operating system that the agent has completed its intended task for the current invocation of the agent. (Inherited from BackgroundAgent.) |
|
OnBeginStreaming | Called when a new track requires audio streaming because it is about to start playing. |
|
OnCancel | Tells AudioStreamingAgent that it has been cancelled. (Overrides BackgroundAgent.OnCancel().) |
|
ToString | (Inherited from Object.) |
To release internal resources, OnCancel() must be called by overriding classes. That is, the streaming agent must call base.OnCancel.