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 で導入)

注釈

システムはこのクラスのインスタンスを生成し、HideVideoPreviewRequested イベントの BarcodeScannerHideVideoPreviewRequestEventArgs 引数のプロパティとして設定します。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1809 17763 ReportFailedAsync(Int32)
1809 17763 ReportFailedAsync(Int32,String)

メソッド

ReportCompletedAsync()

要求が正常に処理されたことをクライアント アプリに通知します。

ReportFailedAsync()

要求が正常に処理されなかったことをクライアントに通知します。

ReportFailedAsync(Int32)

要求が正常に処理されなかったことをクライアントに通知します。

ReportFailedAsync(Int32, String)

要求が正常に処理されなかったことをクライアントに通知します。

適用対象