SimpleOrientationSensorOrientationChangedEventArgs クラス

定義

センサーの読み取り変更イベントのデータを提供します。

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

Windows の要件

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

注釈

このオブジェクトは、アプリが OrientationChanged イベントをサポートしている場合にアクセスされます。

プロパティ

Orientation

現在のセンサーの向きを取得します。

Timestamp

現在のセンサーの読み取りの時刻を取得します。

適用対象