Bagikan melalui


MediaSourceType Enumeration

Type of the media source.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum MediaSourceType

Members

  Member name Description
LocalDevice A local device.
WindowsMediaConnect A Windows Media Connect device.

Remarks

Indicates the type of the current media source. The type can be either a local device, or a device connected through Windows Media Connect. On Windows and Windows Phone, the only available media source type is the local device. On Xbox 360, a media source can be either the local device or a device connected through Windows Media Connect.

The MediaSource.MediaSourceType property returns a MediaSourceType value.

See Also

Reference

MediaSource.MediaSourceType Property
Microsoft.Xna.Framework.Media Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone