BarcodeScannerPreviewActivatedEventArgs 类

定义

指定用于激活条形码扫描仪预览的事件参数。

public ref class BarcodeScannerPreviewActivatedEventArgs sealed : IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerPreviewActivatedEventArgs final : IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerPreviewActivatedEventArgs : IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs
Public NotInheritable Class BarcodeScannerPreviewActivatedEventArgs
Implements IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs
继承
Object Platform::Object IInspectable BarcodeScannerPreviewActivatedEventArgs
属性
实现

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

注解

在激活应用以显示来自相机的图像时提供数据,以便用户可以将设备对准条形码进行扫描。

属性

ConnectionId

获取用于与服务连接匹配的连接 ID。

Kind

获取激活类型。

PreviousExecutionState

获取激活前的应用的执行状态。

SplashScreen

获取初始屏幕对象,该对象提供有关从初始屏幕到激活应用转换的信息。

User

获取条形码扫描仪预览的用户。

适用于