MediaHistoryItem.PlayerContext Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
A set of key/value pairs.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property Value
Type: System.Collections.Generic.IDictionary<String, String>Returns IDictionary<TKey, TValue>.
An application can use PlayerContext to preserve state when a new MediaHistoryItem is added to the History or New sections of the Music + Videos Hub. For example, an application could choose to store how many minutes of a video file have been played. This information can then be retrieved once the application is reactivated by a user tap on the MediaHistoryItem Tile. The combined length of all of the key/value pairs can be a maximum of 200 characters.