Partilhar via


SimpleOrientationSensorOrientationChangedEventArgs Classe

Definição

Fornece dados para o evento de leitura alterado do sensor.

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
Herança
Object Platform::Object IInspectable SimpleOrientationSensorOrientationChangedEventArgs
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Comentários

Esse objeto é acessado quando seu aplicativo dá suporte ao evento OrientationChanged .

Propriedades

Orientation

Obtém a orientação atual do sensor.

Timestamp

Obtém a hora da leitura do sensor atual.

Aplica-se a