MediaPlaybackItem.GetDisplayProperties Method

Definition

Gets the display properties for a MediaPlaybackItem.

public:
 virtual MediaItemDisplayProperties ^ GetDisplayProperties() = GetDisplayProperties;
MediaItemDisplayProperties GetDisplayProperties();
public MediaItemDisplayProperties GetDisplayProperties();
function getDisplayProperties()
Public Function GetDisplayProperties () As MediaItemDisplayProperties

Returns

MediaItemDisplayProperties

The display properties for a MediaPlaybackItem.

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

To modify the display properties for a MediaPlaybackItem, retrieve the properties by calling GetDisplayProperties, update the data in the MediaItemDisplayProperties, then call ApplyDisplayProperties.

For how-to guidance for integrating with the SMTC, see Integrate with the System Media Transport Controls.

Applies to