BackgroundAudioPlayer.Close Method

July 28, 2014

Closes the player and removes all resources reserved for it, including the current AudioTrack.

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

public void Close()

If any other members of BackgroundAudioPlayer are called or accessed after Close() has been called, they throw an exception.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft