Bagikan melalui


BarcodeScannerHideVideoPreviewRequest Kelas

Definisi

Mewakili permintaan untuk menyembunyikan jendela pratinjau video.

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
Warisan
Object Platform::Object IInspectable BarcodeScannerHideVideoPreviewRequest
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1803 (diperkenalkan dalam 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v6.0)

Keterangan

Sistem menghasilkan instans kelas ini dan mengaturnya sebagai properti di argumen BarcodeScannerHideVideoPreviewRequestEventArgs dari peristiwa HideVideoPreviewRequested.

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32,String)

Metode

ReportCompletedAsync()

Memberi tahu aplikasi klien bahwa permintaan berhasil diproses.

ReportFailedAsync()

Memberi tahu klien bahwa permintaan tidak berhasil diproses.

ReportFailedAsync(Int32, String)

Memberi tahu klien bahwa permintaan tidak berhasil diproses.

ReportFailedAsync(Int32)

Memberi tahu klien bahwa permintaan tidak berhasil diproses.

Berlaku untuk