OrientationSensor.GetDefaultForRelativeReadings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)