BarcodeScannerHideVideoPreviewRequest Класс

Определение

Представляет запрос на скрытие окна предварительного просмотра видео.

public ref class BarcodeScannerHideVideoPreviewRequest 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 BarcodeScannerHideVideoPreviewRequest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerHideVideoPreviewRequest 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 BarcodeScannerHideVideoPreviewRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerHideVideoPreviewRequest
Public NotInheritable Class BarcodeScannerHideVideoPreviewRequest
Наследование
Object Platform::Object IInspectable BarcodeScannerHideVideoPreviewRequest
Атрибуты

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

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

Комментарии

Система создает экземпляр этого класса и задает его в качестве свойства в аргументе BarcodeScannerHideVideoPreviewRequestEventArgs события HideVideoPreviewRequested.

Журнал версий

Версия Windows Версия пакета SDK Добавленная стоимость
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32;String)

Методы

ReportCompletedAsync()

Уведомляет клиентское приложение о том, что запрос был успешно обработан.

ReportFailedAsync()

Сообщает клиенту, что запрос не был успешно обработан.

ReportFailedAsync(Int32)

Уведомляет клиента о том, что запрос не был успешно обработан.

ReportFailedAsync(Int32, String)

Уведомляет клиента о том, что запрос не был успешно обработан.

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