InclinometerReading クラス

定義

傾斜計の読み取り値を表します。

public ref class InclinometerReading sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class InclinometerReading final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class InclinometerReading
Public NotInheritable Class InclinometerReading
継承
Object Platform::Object IInspectable InclinometerReading
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

このオブジェクトは、GetCurrentReading メソッドを呼び出すとアクセスされます。イベント コールバック メソッドで InclinometerReadingChangedEventArgs オブジェクトの Reading プロパティを取得すると、アクセスされます。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1709 16299 PerformanceCount
1709 16299 Properties

プロパティ

PerformanceCount

読み取りに関連付けられているパフォーマンス数を取得します。 これにより、読み取りをシステム上の他のデバイスやプロセスと同期できます。

PitchDegrees

x 軸の周りの回転角度を取得します。

Properties

特定の読み取りについてセンサーによって報告されるデータ プロパティを表すキーと値のペアのコレクションを取得します。

RollDegrees

y 軸の周りの回転角度を取得します。

Timestamp

センサーが読み取りを報告した時刻を取得します。

YawAccuracy

傾斜計の z 軸の精度を取得します。

YawDegrees

z 軸の周りの回転角度を取得します。

適用対象

こちらもご覧ください