Поделиться через


GazeDeviceWatcherAddedPreviewEventArgs Класс

Определение

Предоставляет данные события для события GazeDeviceWatcherPreview.Added .

public ref class GazeDeviceWatcherAddedPreviewEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GazeDeviceWatcherAddedPreviewEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GazeDeviceWatcherAddedPreviewEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GazeDeviceWatcherAddedPreviewEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GazeDeviceWatcherAddedPreviewEventArgs
Public NotInheritable Class GazeDeviceWatcherAddedPreviewEventArgs
Наследование
Object Platform::Object IInspectable GazeDeviceWatcherAddedPreviewEventArgs
Атрибуты

Требования к Windows

Семейство устройств
Windows 10, version 1803 (появилось в 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v6.0)

Свойства

Device

Возвращает ссылку на устройство отслеживания взгляда, отслеживаемое с помощью объекта GazeDeviceWatcherPreview .

Применяется к

См. также раздел