Jaa


BarcodeScannerPreviewActivatedEventArgs Class

Definition

Specifies the event arguments for activating the barcode scanner preview.

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
Inheritance
Object Platform::Object IInspectable BarcodeScannerPreviewActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

Provides data when an app is activated to show the image from the camera so that a user can aim the device at the barcode for scanning.

Properties

ConnectionId

Gets a connection ID used to match the service connection.

Kind

Gets the activation type.

PreviousExecutionState

Gets the execution state of the app before it was activated.

SplashScreen

Gets the splash screen object, which provides information about the transition from the splash screen to the activated app.

User

Gets the user for the barcode scanner preview.

Applies to