MediaHistory.WriteRecentPlay Method

Adds a MediaHistoryItem that an application has recently played for the user.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public void WriteRecentPlay(
	MediaHistoryItem item
)

Parameters

item
Type: Microsoft.Devices.MediaHistoryItem
The MediaHistoryItem that represents the recently played content.

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

Windows Phone

Show:
© 2015 Microsoft