MediaPlayerOrientation Enumeration

MediaPlayerOrientation Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines the list of orientations in which the media player can be launched.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public enum MediaPlayerOrientation
<object property="enumerationValue" .../>

Member nameDescription
LandscapeLandscape orientation.
PortraitPortrait orientation.

This enumeration is used with the MediaPlayerLauncher class.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2017 Microsoft