This topic has not yet been rated - Rate this topic

MediaLocationType Enumeration

Windows Phone

March 22, 2012

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 name Description
None The media item is in neither data store. The Show method will throw a FileNotFoundException if this value is used.
Install The media file is in the application’s installation directory.
Data The 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: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)