MediaPlaybackSessionOutputDegradationPolicyState MediaPlaybackSessionOutputDegradationPolicyState MediaPlaybackSessionOutputDegradationPolicyState MediaPlaybackSessionOutputDegradationPolicyState MediaPlaybackSessionOutputDegradationPolicyState Class

Definition

Expresses the current output degradation policy state of a MediaPlaybackSession.

public : sealed class MediaPlaybackSessionOutputDegradationPolicyState
struct winrt::Windows::Media::Playback::MediaPlaybackSessionOutputDegradationPolicyState
public sealed class MediaPlaybackSessionOutputDegradationPolicyState
Public NotInheritable Class MediaPlaybackSessionOutputDegradationPolicyState
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Remarks

Get an instance of this class by calling MediaPlaybackSession.GetOutputDegradationPolicyState.

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.

Properties

VideoConstrictionReason VideoConstrictionReason VideoConstrictionReason VideoConstrictionReason VideoConstrictionReason

Gets a value from the MediaPlaybackSessionVideoConstrictionReason enumeration specifying the reason why video is being constricted, if known.

See also