Silverlight 5 | WinRT |
public sealed class Accelerometer | |
: __ComObject, IAccelerometer | |
public virtual UInt32 MinimumReportInterval { get; } | |
public virtual UInt32 ReportInterval { get; set; } | |
public virtual event TypedEventHandler`2<Accelerometer, AccelerometerReadingChangedEventArgs> ReadingChanged; | |
public virtual event TypedEventHandler`2<Accelerometer, AccelerometerShakenEventArgs> Shaken; | |
public virtual AccelerometerReading GetCurrentReading(); | |
static public Accelerometer GetDefault(); |
public sealed class AccelerometerReading | |
: __ComObject, IAccelerometerReading | |
public virtual Double AccelerationX { get; } | |
public virtual Double AccelerationY { get; } | |
public virtual Double AccelerationZ { get; } | |
public virtual DateTimeOffset Timestamp { get; } |
public sealed class AccelerometerReadingChangedEventArgs | |
: __ComObject, IAccelerometerReadingChangedEventArgs | |
public virtual AccelerometerReading Reading { get; } |
public sealed class AccelerometerShakenEventArgs | |
: __ComObject, IAccelerometerShakenEventArgs | |
public virtual DateTimeOffset Timestamp { get; } |
public sealed class Compass | |
: __ComObject, ICompass | |
public virtual UInt32 MinimumReportInterval { get; } | |
public virtual UInt32 ReportInterval { get; set; } | |
public virtual event TypedEventHandler`2<Compass, CompassReadingChangedEventArgs> ReadingChanged; | |
public virtual CompassReading GetCurrentReading(); | |
static public Compass GetDefault(); |
public sealed class CompassReading | |
: __ComObject, ICompassReading | |
public virtual Double HeadingMagneticNorth { get; } | |
public virtual Nullable`1<Double> HeadingTrueNorth { get; } | |
public virtual DateTimeOffset Timestamp { get; } |
public sealed class CompassReadingChangedEventArgs | |
: __ComObject, ICompassReadingChangedEventArgs | |
public virtual CompassReading Reading { get; } |
public sealed class Gyrometer | |
: __ComObject, IGyrometer | |
public virtual UInt32 MinimumReportInterval { get; } | |
public virtual UInt32 ReportInterval { get; set; } | |
public virtual event TypedEventHandler`2<Gyrometer, GyrometerReadingChangedEventArgs> ReadingChanged; | |
public virtual GyrometerReading GetCurrentReading(); | |
static public Gyrometer GetDefault(); |
public sealed class GyrometerReading | |
: __ComObject, IGyrometerReading | |
public virtual Double AngularVelocityX { get; } | |
public virtual Double AngularVelocityY { get; } | |
public virtual Double AngularVelocityZ { get; } | |
public virtual DateTimeOffset Timestamp { get; } |
public sealed class GyrometerReadingChangedEventArgs | |
: __ComObject, IGyrometerReadingChangedEventArgs | |
public virtual GyrometerReading Reading { get; } |
public abstract interface IAccelerometerReading | |
public abstract virtual Double AccelerationX { get; } | |
public abstract virtual Double AccelerationY { get; } | |
public abstract virtual Double AccelerationZ { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public abstract interface IAccelerometerReadingChangedEventArgs | |
public abstract virtual AccelerometerReading Reading { get; } |
public abstract interface IAccelerometerShakenEventArgs | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public abstract interface ICompassReading | |
public abstract virtual Double HeadingMagneticNorth { get; } | |
public abstract virtual Nullable`1<Double> HeadingTrueNorth { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public abstract interface ICompassReadingChangedEventArgs | |
public abstract virtual CompassReading Reading { get; } |
public abstract interface IGyrometerReading | |
public abstract virtual Double AngularVelocityX { get; } | |
public abstract virtual Double AngularVelocityY { get; } | |
public abstract virtual Double AngularVelocityZ { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public abstract interface IGyrometerReadingChangedEventArgs | |
public abstract virtual GyrometerReading Reading { get; } |
public abstract interface IInclinometerReading | |
public abstract virtual Single PitchDegrees { get; } | |
public abstract virtual Single RollDegrees { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } | |
public abstract virtual Single YawDegrees { get; } |
public abstract interface IInclinometerReadingChangedEventArgs | |
public abstract virtual InclinometerReading Reading { get; } |
public abstract interface ILightSensorReading | |
public abstract virtual Single IlluminanceInLux { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public abstract interface ILightSensorReadingChangedEventArgs | |
public abstract virtual LightSensorReading Reading { get; } |
public sealed class Inclinometer | |
: __ComObject, IInclinometer | |
public virtual UInt32 MinimumReportInterval { get; } | |
public virtual UInt32 ReportInterval { get; set; } | |
public virtual event TypedEventHandler`2<Inclinometer, InclinometerReadingChangedEventArgs> ReadingChanged; | |
public virtual InclinometerReading GetCurrentReading(); | |
static public Inclinometer GetDefault(); |
public sealed class InclinometerReading | |
: __ComObject, IInclinometerReading | |
public virtual Single PitchDegrees { get; } | |
public virtual Single RollDegrees { get; } | |
public virtual DateTimeOffset Timestamp { get; } | |
public virtual Single YawDegrees { get; } |
public sealed class InclinometerReadingChangedEventArgs | |
: __ComObject, IInclinometerReadingChangedEventArgs | |
public virtual InclinometerReading Reading { get; } |
public abstract interface IOrientationSensorReading | |
public abstract virtual SensorQuaternion Quaternion { get; } | |
public abstract virtual SensorRotationMatrix RotationMatrix { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public abstract interface IOrientationSensorReadingChangedEventArgs | |
public abstract virtual OrientationSensorReading Reading { get; } |
public abstract interface ISimpleOrientationSensorOrientationChangedEventArgs | |
public abstract virtual SimpleOrientation Orientation { get; } | |
public abstract virtual DateTimeOffset Timestamp { get; } |
public sealed class LightSensor | |
: __ComObject, ILightSensor | |
public virtual UInt32 MinimumReportInterval { get; } | |
public virtual UInt32 ReportInterval { get; set; } | |
public virtual event TypedEventHandler`2<LightSensor, LightSensorReadingChangedEventArgs> ReadingChanged; | |
public virtual LightSensorReading GetCurrentReading(); | |
static public LightSensor GetDefault(); |
public sealed class LightSensorReading | |
: __ComObject, ILightSensorReading | |
public virtual Single IlluminanceInLux { get; } | |
public virtual DateTimeOffset Timestamp { get; } |
public sealed class LightSensorReadingChangedEventArgs | |
: __ComObject, ILightSensorReadingChangedEventArgs | |
public virtual LightSensorReading Reading { get; } |
public sealed class OrientationSensor | |
: __ComObject, IOrientationSensor | |
public virtual UInt32 MinimumReportInterval { get; } | |
public virtual UInt32 ReportInterval { get; set; } | |
public virtual event TypedEventHandler`2<OrientationSensor, OrientationSensorReadingChangedEventArgs> ReadingChanged; | |
public virtual OrientationSensorReading GetCurrentReading(); | |
static public OrientationSensor GetDefault(); |
public sealed class OrientationSensorReading | |
: __ComObject, IOrientationSensorReading | |
public virtual SensorQuaternion Quaternion { get; } | |
public virtual SensorRotationMatrix RotationMatrix { get; } | |
public virtual DateTimeOffset Timestamp { get; } |
public sealed class OrientationSensorReadingChangedEventArgs | |
: __ComObject, IOrientationSensorReadingChangedEventArgs | |
public virtual OrientationSensorReading Reading { get; } |
public sealed class SensorQuaternion | |
: __ComObject, ISensorQuaternion | |
public virtual Single W { get; } | |
public virtual Single X { get; } | |
public virtual Single Y { get; } | |
public virtual Single Z { get; } |
public sealed class SensorRotationMatrix | |
: __ComObject, ISensorRotationMatrix | |
public virtual Single M11 { get; } | |
public virtual Single M12 { get; } | |
public virtual Single M13 { get; } | |
public virtual Single M21 { get; } | |
public virtual Single M22 { get; } | |
public virtual Single M23 { get; } | |
public virtual Single M31 { get; } | |
public virtual Single M32 { get; } | |
public virtual Single M33 { get; } |
public sealed enum SimpleOrientation | |
: IComparable, IFormattable, IConvertible | |
{ NotRotated, Rotated90DegreesCounterclockwise, Rotated180DegreesCounterclockwise, Rotated270DegreesCounterclockwise, Faceup, Facedown } |
public sealed class SimpleOrientationSensor | |
: __ComObject, ISimpleOrientationSensor | |
public virtual event TypedEventHandler`2<SimpleOrientationSensor, SimpleOrientationSensorOrientationChangedEventArgs> OrientationChanged; | |
public virtual SimpleOrientation GetCurrentOrientation(); | |
static public SimpleOrientationSensor GetDefault(); |
public sealed class SimpleOrientationSensorOrientationChangedEventArgs | |
: __ComObject, ISimpleOrientationSensorOrientationChangedEventArgs | |
public virtual SimpleOrientation Orientation { get; } | |
public virtual DateTimeOffset Timestamp { get; } |