CastingDevicePickerFilter
CastingDevicePickerFilter
CastingDevicePickerFilter
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 : sealed class CastingDevicePickerFilter : ICastingDevicePickerFilterpublic sealed class CastingDevicePickerFilter : ICastingDevicePickerFilterPublic NotInheritable Class CastingDevicePickerFilter Implements ICastingDevicePickerFilter// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Get an instance of this class by accessing the CastingDevicePicker.Filter property.
Properties
SupportedCastingSources SupportedCastingSources SupportedCastingSources SupportedCastingSources
Gets the casting sources supported.
public : IVector<CastingSource> SupportedCastingSources { get; }public IList<CastingSource> SupportedCastingSources { get; }Public ReadOnly Property SupportedCastingSources As IList<CastingSource>// You can use this property in JavaScript.
- Value
- IVector<CastingSource> IList<CastingSource> IList<CastingSource> IList<CastingSource>
The list of supported casting sources.
SupportsAudio SupportsAudio SupportsAudio SupportsAudio
Gets and sets whether the devices in the device picker should support audio playback.
public : PlatForm::Boolean SupportsAudio { get; set; }public bool SupportsAudio { get; set; }Public ReadWrite Property SupportsAudio As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
If true, the picker will show audio-capable casting devices.
SupportsPictures SupportsPictures SupportsPictures SupportsPictures
Gets and sets whether the devices in the device picker should support rending still images.
public : PlatForm::Boolean SupportsPictures { get; set; }public bool SupportsPictures { get; set; }Public ReadWrite Property SupportsPictures As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
If true, the picker will show casting devices capable of rendering still images.
SupportsVideo SupportsVideo SupportsVideo SupportsVideo
Gets and sets whether the devices in the device picker should support video playback.
public : PlatForm::Boolean SupportsVideo { get; set; }public bool SupportsVideo { get; set; }Public ReadWrite Property SupportsVideo As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
If true, the picker will show video-capable casting devices.