MediaPlaybackItem.ApplyDisplayProperties(MediaItemDisplayProperties) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the display properties for the MediaPlaybackItem. These properties are used by the System Media Transport Controls to display information about the currently playing media item.
public:
virtual void ApplyDisplayProperties(MediaItemDisplayProperties ^ value) = ApplyDisplayProperties;
void ApplyDisplayProperties(MediaItemDisplayProperties const& value);
public void ApplyDisplayProperties(MediaItemDisplayProperties value);
function applyDisplayProperties(value)
Public Sub ApplyDisplayProperties (value As MediaItemDisplayProperties)
Parameters
The display properties to apply to the MediaPlaybackItem.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
Get the display properties for a MediaPlaybackItem by calling GetDisplayProperties.
For how-to guidance for integrating with the SMTC, see Integrate with the System Media Transport Controls.