July 26, 2012
The class contains information about media items that are newly acquired, recently played, or currently playing.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Thetype exposes the following members.
|Equals||(Inherited from Object.)|
|Finalize||(Inherited from Object.)|
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
|MemberwiseClone||(Inherited from Object.)|
|ToString||(Inherited from Object.)|
|WriteAcquiredItem||Adds a MediaHistoryItem that an application recently acquired for the user.|
|WriteRecentPlay||Adds a MediaHistoryItem that an application has recently played for the user.|
When new MediaHistoryItem instances are added, the object's metadata is inserted into a list of content that is owned by the Music + Videos Hub. The images provided in the MediaHistoryItem instances are copied into the media library storage area.
For more information about the Music + Videos Hub, see How to: Integrate with the Music and Videos Hub for Windows Phone.