BackgroundAudioPlayer.Rewind Method

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

Starts rewinding through the current AudioTrack.

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

Syntax

Public Sub Rewind
public void Rewind()

Exceptions

Exception Condition
InvalidOperationException

Rewind()()() was called, but there is no current Track set.

InvalidOperationException

Rewind()()() was called, but the current AudioTrack was streamed by using the MediaStreamSource class. You can only call the Rewind method when the current AudioTrack was loaded from a local or a web Uri.

Remarks

This method is not affected by the enabled PlayerControls of the current AudioTrack.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

BackgroundAudioPlayer Class

Microsoft.Phone.BackgroundAudio Namespace