GyrometerReading クラス

定義

ジャイロメーターの読み取り値を表します。

public ref class GyrometerReading 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 GyrometerReading 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 GyrometerReading
Public NotInheritable Class GyrometerReading
継承
Object Platform::Object IInspectable GyrometerReading
属性

Windows の要件

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

注釈

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

バージョン履歴

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

プロパティ

AngularVelocityX

x 軸に関する角速度を 1 秒あたりの角度で取得します。

AngularVelocityY

y 軸を中心とする角速度を 1 秒あたりの角度で取得します。

AngularVelocityZ

z 軸に関する角速度 (1 秒あたりの角度) を取得します。

PerformanceCount

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

Properties

センサーによって報告されるデータ プロパティを取得します。

Timestamp

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

適用対象

こちらもご覧ください