Share via


CastingDevicePickerFilter Class

Definition

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.

public ref class CastingDevicePickerFilter sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CastingDevicePickerFilter final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CastingDevicePickerFilter
Public NotInheritable Class CastingDevicePickerFilter
Inheritance
Object Platform::Object IInspectable CastingDevicePickerFilter
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by accessing the CastingDevicePicker.Filter property.

Properties

SupportedCastingSources

Gets the casting sources supported.

SupportsAudio

Gets and sets whether the devices in the device picker should support audio playback.

SupportsPictures

Gets and sets whether the devices in the device picker should support rending still images.

SupportsVideo

Gets and sets whether the devices in the device picker should support video playback.

Applies to