Share via


CastingDevice.DeviceInfoSupportsCastingAsync(DeviceInformation) Method

Definition

Indicates whether the given device (a DeviceInformation object) supports casting.

public:
 static IAsyncOperation<bool> ^ DeviceInfoSupportsCastingAsync(DeviceInformation ^ device);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> DeviceInfoSupportsCastingAsync(DeviceInformation const& device);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> DeviceInfoSupportsCastingAsync(DeviceInformation device);
function deviceInfoSupportsCastingAsync(device)
Public Shared Function DeviceInfoSupportsCastingAsync (device As DeviceInformation) As IAsyncOperation(Of Boolean)

Parameters

device
DeviceInformation

The device you want to know about.

Returns

True if the device supports casting; false otherwise.

Attributes

Applies to