BarcodeScannerHideVideoPreviewRequest 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示隐藏视频预览窗口的请求。
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
- 继承
- 属性
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, String) |
通知客户端请求未成功处理。 |
ReportFailedAsync(Int32) |
通知客户端请求未成功处理。 |