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)
Syntax
Public Enumeration MediaLocationType
public enum MediaLocationType
<object property="enumerationValue" .../>
Members
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. |
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone