Jaa


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.

In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.

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