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)

Syntax

Public Sub WriteAcquiredItem ( _
    item As MediaHistoryItem _
)
public void WriteAcquiredItem(
    MediaHistoryItem item
)

Parameters

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

MediaHistory Class

Microsoft.Devices Namespace