MediaPlaybackSession.PlaybackRotation Property
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.
Gets or sets a value from the MediaRotation enumeration that specifies the rotation applied to video content during playback.
public:
property MediaRotation PlaybackRotation { MediaRotation get(); void set(MediaRotation value); };
MediaRotation PlaybackRotation();
void PlaybackRotation(MediaRotation value);
public MediaRotation PlaybackRotation { get; set; }
var mediaRotation = mediaPlaybackSession.playbackRotation;
mediaPlaybackSession.playbackRotation = mediaRotation;
Public Property PlaybackRotation As MediaRotation
Property Value
The rotation applied to video content during playback.
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|