Share via


OrientationSensor.GetDefaultForRelativeReadings Method

Definition

Returns the default orientation sensor for relative readings.

public:
 static OrientationSensor ^ GetDefaultForRelativeReadings();
 static OrientationSensor GetDefaultForRelativeReadings();
public static OrientationSensor GetDefaultForRelativeReadings();
function getDefaultForRelativeReadings()
Public Shared Function GetDefaultForRelativeReadings () As OrientationSensor

Returns

The default orientation sensor or null if no orientation sensors are found.

Remarks

This method returns the same result as GetDefault(SensorReadingType.Relative)

Applies to