Share via


MediaPlaybackItem.ApplyDisplayProperties(MediaItemDisplayProperties) Method

Definition

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

value
MediaItemDisplayProperties

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.

Applies to