AudioStreamingAgent.OnBeginStreaming Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Called when a new track requires audio streaming because it is about to start playing.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Protected Overridable Sub OnBeginStreaming ( _
    track As AudioTrack, _
    streamer As AudioStreamer _
)
protected virtual void OnBeginStreaming(
    AudioTrack track,
    AudioStreamer streamer
)

Parameters

Remarks

If you don’t override this method, then the base class implementation simply calls Abort()()().

Warning

This API is not supported for Silverlight 8.1 apps.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

AudioStreamingAgent Class

Microsoft.Phone.BackgroundAudio Namespace