WriteAcquiredItem Method
Collapse the table of content
Expand the table of content

MediaHistory.WriteAcquiredItem Method

[ 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 recently acquired for the user.

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

public void WriteAcquiredItem(
	MediaHistoryItem item


Type: Microsoft.Devices.MediaHistoryItem
The MediaHistoryItem that represents the newly acquired content.

Items added using WriteAcquiredItem(MediaHistoryItem) will show up in the New section of the Music + Videos Hub.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft