ClaimedLineDisplay クラス

定義

要求された行表示デバイスを表します。

public ref class ClaimedLineDisplay sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ClaimedLineDisplay final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ClaimedLineDisplay : System.IDisposable
Public NotInheritable Class ClaimedLineDisplay
Implements IDisposable
継承
Object Platform::Object IInspectable ClaimedLineDisplay
属性
実装

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

注釈

このオブジェクトは、直接構築することも、 LineDisplay.ClaimAsync を使用して構築することもできます。 他の周辺機器とは異なり、EnableAsync() メソッドは行表示用に削除されました。 代わりに、行表示が有効な状態である必要があるコマンドが送信されるたびに、デバイスが暗黙的に有効になります。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1709 16299 CheckHealthAsync
1709 16299 CheckPowerStatusAsync
1709 16299 CustomGlyphs
1709 16299 GetAttributes
1709 16299 GetStatisticsAsync
1709 16299 MaxBitmapSizeInPixels
1709 16299 StatusUpdated
1709 16299 SupportedCharacterSets
1709 16299 SupportedScreenSizesInCharacters
1709 16299 TryClearDescriptorsAsync
1709 16299 TryCreateWindowAsync
1709 16299 TrySetDescriptorAsync
1709 16299 TryStoreStorageFileBitmapAsync(StorageFile)
1709 16299 TryStoreStorageFileBitmapAsync(StorageFile,LineDisplayHorizontalAlignment,LineDisplayVerticalAlignment)
1709 16299 TryStoreStorageFileBitmapAsync(StorageFile,LineDisplayHorizontalAlignment,LineDisplayVerticalAlignment,Int32)
1709 16299 TryUpdateAttributesAsync
1809 17763 Closed

プロパティ

Capabilities

要求された行表示の機能を取得します。

CustomGlyphs

機能がサポートされている場合は、ライン ディスプレイのカスタム グリフ リストを取得します。

DefaultWindow

線の表示の既定のデバイス ウィンドウを取得します。

DeviceControlDescription

行表示のデバイス コントロールの説明を取得します。

DeviceControlVersion

行の表示のデバイス コントロールのバージョン番号を取得します。

DeviceId

行表示の DeviceInformation.Id を取得します。

DeviceServiceVersion

行表示のサービス バージョン番号を取得します。

MaxBitmapSizeInPixels

ビットマップの最大サイズを取得します。

PhysicalDeviceDescription

物理デバイスの説明を取得します。

PhysicalDeviceName

物理デバイス名を取得します。

SupportedCharacterSets

行の表示でサポートされている文字セットを取得します。

SupportedScreenSizesInCharacters

行の表示でサポートされている画面サイズを取得します。

メソッド

CheckHealthAsync(UnifiedPosHealthCheckLevel)

デバイスの正常性状態を非同期的に取得します。

CheckPowerStatusAsync()

デバイスの現在の電源状態を取得します。

Close()

行表示セッションを閉じます。 C++ と JavaScript の場合は、Close() を使用します。 C# と Visual Basic の場合は、Dispose() を使用します。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

FromIdAsync(String)

DeviceInformation.Id から LineDisplay オブジェクトを作成します。

GetAttributes()

行表示の属性を取得します。

GetDeviceSelector()

使用可能な行の表示を一覧表示するために使用できる高度なクエリ構文 (AQS) 文字列を取得します。

GetDeviceSelector(PosConnectionTypes)

指定した接続の種類で使用できる行の表示を一覧表示するために使用できる高度なクエリ構文 (AQS) 文字列を取得します

GetStatisticsAsync(IIterable<String>)

行表示から要求された統計を取得します。

RetainDevice()

LineDisplay.ClaimAsync を使用して別のアプリによって要求された後、ライン ディスプレイ デバイスでアプリの要求を保持します。

TryClearDescriptorsAsync()

すべての説明を非同期的にクリアしようとします。

TryCreateWindowAsync(Rect, Size)

LineDisplayWindow を非同期的に作成しようとします。

TrySetDescriptorAsync(UInt32, LineDisplayDescriptorState)

指定した属性を使用して記述子を非同期的に設定しようとします。

TryStoreStorageFileBitmapAsync(StorageFile)

後で行ディスプレイ デバイスに表示するために、 StorageFile からビットマップ イメージを非同期的に格納しようとします。

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

後で行ディスプレイ デバイスに表示するために、 StorageFile からビットマップ イメージを非同期的に格納しようとします。

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

後で行ディスプレイ デバイスに表示するために、 StorageFile からビットマップ イメージを非同期的に格納しようとします。

TryUpdateAttributesAsync(LineDisplayAttributes)

デバイス属性を更新します。

イベント

Closed

ClaimedLineDisplay が閉じられたときに発生するイベント。

ReleaseDeviceRequested

要求された要求された行の表示が、 LineDisplay.ClaimAsync を持つ別のアプリによって要求されたときに発生します。

StatusUpdated

回線ディスプレイの電源状態に変更があることをアプリケーションに通知します。

適用対象