Udostępnij za pośrednictwem


HingeAngleReading Class

Definition

Provides access to the data exposed by the hinge angle sensor in a dual-screen device.

public ref class HingeAngleReading sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HingeAngleReading final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HingeAngleReading
Public NotInheritable Class HingeAngleReading
Inheritance
Object Platform::Object IInspectable HingeAngleReading
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

AngleInDegrees

Gets the angle reported by the hinge angle sensor.

Properties

Gets a collection of key-value pairs that represent data properties reported by the sensor for the given reading.

Timestamp

Gets the time when the hinge angle reading was obtained.

Applies to

See also