MediaLocationType Enumeration

July 28, 2014

Lists the data stores in which a media file can be stored. Used by MediaPlayerLauncher.

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

public enum MediaLocationType
<object property="enumerationValue" .../>

Member nameDescription
NoneThe media item is in neither data store. The Show method will throw a FileNotFoundException if this value is used.
InstallThe media file is in the application’s installation directory.
DataThe media file is in isolated storage.

Media is stored in isolated storage when it is saved to disk by an application or in the application’s installation directory, if it is bundled into the application’s .xap file. This enumeration is used to let the MediaPlayerLauncher know how to resolve the media file’s URI.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft