[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Adds a MediaHistoryItem that an application has recently played for the user.
public void WriteRecentPlay(
Items added using WriteRecentPlay(MediaHistoryItem) will show up in the History section of the Music + Videos Hub.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0