Udostępnij za pośrednictwem


WebUIBarcodeScannerPreviewActivatedEventArgs Class

Definition

Provides event info when a barcode scanner preview activates the app.

public ref class WebUIBarcodeScannerPreviewActivatedEventArgs sealed : IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebUIBarcodeScannerPreviewActivatedEventArgs final : IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebUIBarcodeScannerPreviewActivatedEventArgs : IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs, IActivatedEventArgsDeferral
Public NotInheritable Class WebUIBarcodeScannerPreviewActivatedEventArgs
Implements IActivatedEventArgsDeferral, IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs
Inheritance
Object Platform::Object IInspectable WebUIBarcodeScannerPreviewActivatedEventArgs
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

rovides 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

ActivatedOperation

Gets the object that manages the app's activation.

ConnectionId

Gets a connection ID used to match the service connection.

Kind

Gets the type of action that activated the app.

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