-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.ClaimedBarcodeScanner.SetActiveProfileAsync(System.String) |
winrt method |
xbox |
Sets the active profile on the barcode scanner.
The name of the profile to set on the device.
No object or value is returned when the method completes.
The input parameter must match one of the supported profiles. For more information, see GetSupportedProfiles or IsProfileSupported.
Barcode scanners can support a number of features beyond scanning, such as focal length and scan duration. These features are typically exposed through settings or properties and can be as many as 100 on complex devices. The simplify the model of scanner configuration, one or more profiles are exposed to application developers with each profile containing one or more OEM defined settings.