Windows.Media.Casting Namespace

This namespace lets an app to cast or send particular media content to a second device and is meant to be device-protocol agnostic. Today, the APIs work with Miracast, DLNA, and Bluetooth, and support images, audio, and video from HTML Tags, ImageElement and MediaElement.

This namespace is the successor to the source components of the Windows.Media.PlayTo APIs.

Classes

CastingConnection

Represents a connection with a casting device.

CastingConnectionErrorOccurredEventArgs

Represents arguments for the ErrorOccurred event from the CastingConnection

CastingDevice

Represents a physical device that is capable of supporting casting connections and rendering media content sent to it.

CastingDevicePicker

Represents a device picker that contains a list of casting devices for the user to choose from.

CastingDevicePickerFilter

Represents the filter used to determine which devices to show in a casting device picker UI. The filter parameters are OR-ed together to build the resulting filter. In other words, if SupportsAudio and SupportsVideo are both true, the picker will display Audio-only devices, video-only devices, and audio/video devices.

CastingDeviceSelectedEventArgs

Represents the event arguments for the CastingDeviceSelected event on the CastingDevicePicker object.

CastingSource

Represents the media content that can be sent to another device.

Enums

CastingConnectionErrorStatus

Indicates the error status when starting or ending a casting connection.

CastingConnectionState

Indicates the current state of a casting connection. Rendering is used when actively playing content.

CastingPlaybackTypes

Indicates the capabilities of a particular casting device.

See also