Magnetometer

Overview

The Magnetometer interface of the Sensor APIs provides information about the magnetic field as detected by the device’s primary magnetometer sensor.

Location

Properties


x

 

property x: Double read;

 

Double x { get; }

 

var x: Double { get{} }

 

Double x { __get; }

 

ReadOnly Property x() As Double

y

 

property y: Double read;

 

Double y { get; }

 

var y: Double { get{} }

 

Double y { __get; }

 

ReadOnly Property y() As Double

z

 

property z: Double read;

 

Double z { get; }

 

var z: Double { get{} }

 

Double z { __get; }

 

ReadOnly Property z() As Double