LineDisplay LineDisplay LineDisplay LineDisplay LineDisplay Class

Definition

Represents a line display device.

public : sealed class LineDisplay : IClosable
struct winrt::Windows::Devices::PointOfService::LineDisplay : IClosable
public sealed class LineDisplay : IDisposable
Public NotInheritable Class LineDisplay Implements IDisposable
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

This object is created when a GetDefaultAsync or FromIdAsync method completes.

See the line display sample for an example implementation.

Version history

Windows version SDK version Value added
1709 16299 CheckPowerStatusAsync
1709 16299 StatisticsCategorySelector

Properties

Capabilities Capabilities Capabilities Capabilities Capabilities

Gets the capabilities of the specified line display.

DeviceControlDescription DeviceControlDescription DeviceControlDescription DeviceControlDescription DeviceControlDescription

Gets the device control description of the line display.

DeviceControlVersion DeviceControlVersion DeviceControlVersion DeviceControlVersion DeviceControlVersion

Gets the device control version number of the line display.

DeviceId DeviceId DeviceId DeviceId DeviceId

Gets the DeviceInformation.Id of the line display.

DeviceServiceVersion DeviceServiceVersion DeviceServiceVersion DeviceServiceVersion DeviceServiceVersion

Gets the service version number of the line display.

PhysicalDeviceDescription PhysicalDeviceDescription PhysicalDeviceDescription PhysicalDeviceDescription PhysicalDeviceDescription

Gets the physical device description.

PhysicalDeviceName PhysicalDeviceName PhysicalDeviceName PhysicalDeviceName PhysicalDeviceName

Gets the physical device name.

StatisticsCategorySelector StatisticsCategorySelector StatisticsCategorySelector StatisticsCategorySelector StatisticsCategorySelector

Gets the standard UnifiedPOS statistics category selector strings.

Methods

CheckPowerStatusAsync() CheckPowerStatusAsync() CheckPowerStatusAsync() CheckPowerStatusAsync() CheckPowerStatusAsync()

Gets the current power status of the device.

ClaimAsync() ClaimAsync() ClaimAsync() ClaimAsync() ClaimAsync()

Attempts to gain exclusive access to the line display.

Close() Close() Close() Close() Close()

Close the line display session, allowing it to be claimed by another client. For C++ and JavaScript, use Close(). For C# and Visual Basic, use Dispose().

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)

Creates a LineDisplay object from the DeviceInformation.Id.

GetDefaultAsync() GetDefaultAsync() GetDefaultAsync() GetDefaultAsync() GetDefaultAsync()

Returns the first available line display.

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string that you can use to list the available line displays.

GetDeviceSelector(PosConnectionTypes) GetDeviceSelector(PosConnectionTypes) GetDeviceSelector(PosConnectionTypes) GetDeviceSelector(PosConnectionTypes) GetDeviceSelector(PosConnectionTypes)

Gets an Advanced Query Syntax (AQS) string that you can use to list the line displays available over the specified connection types