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)

Syntax

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

Members

Member name Description
Landscape Landscape orientation.
Portrait Portrait orientation.

Remarks

This enumeration is used with the MediaPlayerLauncher class.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the Media Player launcher for Windows Phone 8