Share via


MagnetometerData Constructors

Definition

Overloads

MagnetometerData(Double, Double, Double)

Initializes a new instance of the MagnetometerData class.

MagnetometerData(Single, Single, Single)

Initializes a new instance of the MagnetometerData class.

MagnetometerData(Double, Double, Double)

Source:
Magnetometer.shared.cs
Source:
Magnetometer.shared.cs

Initializes a new instance of the MagnetometerData class.

public:
 MagnetometerData(double x, double y, double z);
public MagnetometerData (double x, double y, double z);
new Microsoft.Maui.Devices.Sensors.MagnetometerData : double * double * double -> Microsoft.Maui.Devices.Sensors.MagnetometerData
Public Sub New (x As Double, y As Double, z As Double)

Parameters

x
Double

X axis data.

y
Double

Y axis data.

z
Double

Z asix data.

Applies to

MagnetometerData(Single, Single, Single)

Source:
Magnetometer.shared.cs
Source:
Magnetometer.shared.cs

Initializes a new instance of the MagnetometerData class.

public:
 MagnetometerData(float x, float y, float z);
public MagnetometerData (float x, float y, float z);
new Microsoft.Maui.Devices.Sensors.MagnetometerData : single * single * single -> Microsoft.Maui.Devices.Sensors.MagnetometerData
Public Sub New (x As Single, y As Single, z As Single)

Parameters

x
Single

X axis data.

y
Single

Y axis data.

z
Single

Z asix data.

Applies to