Share via


MediaPlaybackSession.GetOutputDegradationPolicyState Method

Definition

Gets an object that expresses the current output degradation policy state of the MediaPlaybackSession.

public:
 virtual MediaPlaybackSessionOutputDegradationPolicyState ^ GetOutputDegradationPolicyState() = GetOutputDegradationPolicyState;
MediaPlaybackSessionOutputDegradationPolicyState GetOutputDegradationPolicyState();
public MediaPlaybackSessionOutputDegradationPolicyState GetOutputDegradationPolicyState();
function getOutputDegradationPolicyState()
Public Function GetOutputDegradationPolicyState () As MediaPlaybackSessionOutputDegradationPolicyState

Returns

A MediaPlaybackSessionOutputDegradationPolicyState object that expresses the current output degradation policy state.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

In some circumstances the system may degrade the playback of a media item, such as reducing the resolution (constriction), based on a policy rather than a performance issue. The object retrieved with this property allows you to determine if and why this policy-based degredation is occurring for telemetry purposes.

Applies to