Share via


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

バーコード スキャナー プレビューのユーザーを取得します。

適用対象