MediaLocationType Enumeration

MediaLocationType Enumeration

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

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

© 2017 Microsoft