Merge pull request #460 from Mrnikbobjeff/feature/GH-458
GH-458: Optimize all structs
This commit is contained in:
Коммит
9e83454b92
|
@ -21,5 +21,48 @@ namespace Tests
|
|||
[Fact]
|
||||
public void IsMonitoring_Default_On_NetStandard() =>
|
||||
Assert.False(Accelerometer.IsMonitoring);
|
||||
|
||||
[Fact]
|
||||
public void AccelerometerData_Equals_AreSameCopy()
|
||||
{
|
||||
var data = new AccelerometerData(0, 0, 0);
|
||||
var copy = data;
|
||||
var res = data.Equals(copy);
|
||||
Assert.True(res);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AccelerometerData_Equals_AreSameValues()
|
||||
{
|
||||
var data = new AccelerometerData(0, 0, 0);
|
||||
var copy = new AccelerometerData(0, 0, 0);
|
||||
Assert.True(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AccelerometerData_Equals_AreDifferent()
|
||||
{
|
||||
var data = new AccelerometerData(0, 0, 0);
|
||||
var copy = new AccelerometerData(0, 0, 1);
|
||||
Assert.False(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AccelerometerData_Equals_Operator_AreSameValues()
|
||||
{
|
||||
var data = new AccelerometerData(0, 0, 0);
|
||||
var copy = new AccelerometerData(0, 0, 0);
|
||||
Assert.True(data == copy);
|
||||
Assert.False(data != copy);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AccelerometerData_Equals_Operator_AreDifferent()
|
||||
{
|
||||
var data = new AccelerometerData(0, 0, 0);
|
||||
var copy = new AccelerometerData(0, 0, 1);
|
||||
Assert.False(data == copy);
|
||||
Assert.True(data != copy);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,5 +26,48 @@ namespace Tests
|
|||
[Fact]
|
||||
public void IsMonitoring_Default_On_NetStandard() =>
|
||||
Assert.False(Compass.IsMonitoring);
|
||||
|
||||
[Fact]
|
||||
public void CompassData_Equals_AreSameCopy()
|
||||
{
|
||||
var data = new CompassData(0);
|
||||
var copy = data;
|
||||
var res = data.Equals(copy);
|
||||
Assert.True(res);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CompassData_Equals_AreSameValues()
|
||||
{
|
||||
var data = new CompassData(0);
|
||||
var copy = new CompassData(0);
|
||||
Assert.True(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CompassData_Equals_AreDifferent()
|
||||
{
|
||||
var data = new CompassData(0);
|
||||
var copy = new CompassData(1);
|
||||
Assert.False(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CompassData_Equals_Operator_AreSameValues()
|
||||
{
|
||||
var data = new CompassData(0);
|
||||
var copy = new CompassData(0);
|
||||
Assert.True(data == copy);
|
||||
Assert.False(data != copy);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CompassData_Equals_Operator_AreDifferent()
|
||||
{
|
||||
var data = new CompassData(0);
|
||||
var copy = new CompassData(1);
|
||||
Assert.False(data == copy);
|
||||
Assert.True(data != copy);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,5 +21,48 @@ namespace Tests
|
|||
[Fact]
|
||||
public void IsMonitoring_Default_On_NetStandard() =>
|
||||
Assert.False(Gyroscope.IsMonitoring);
|
||||
|
||||
[Fact]
|
||||
public void GyroscopeData_Equals_AreSameCopy()
|
||||
{
|
||||
var data = new GyroscopeData(0, 0, 0);
|
||||
var copy = data;
|
||||
var res = data.Equals(copy);
|
||||
Assert.True(res);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void GyroscopeData_Equals_AreSameValues()
|
||||
{
|
||||
var data = new GyroscopeData(0, 0, 0);
|
||||
var copy = new GyroscopeData(0, 0, 0);
|
||||
Assert.True(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void GyroscopeData_Equals_AreDifferent()
|
||||
{
|
||||
var data = new GyroscopeData(0, 0, 0);
|
||||
var copy = new GyroscopeData(0, 0, 1);
|
||||
Assert.False(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void GyroscopeData_Equals_Operator_AreSame()
|
||||
{
|
||||
var data = new GyroscopeData(0, 0, 0);
|
||||
var copy = new GyroscopeData(0, 0, 0);
|
||||
Assert.True(data == copy);
|
||||
Assert.False(data != copy);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void GyroscopeData_Equals_Operator_AreDifferent()
|
||||
{
|
||||
var data = new GyroscopeData(0, 0, 0);
|
||||
var copy = new GyroscopeData(0, 0, 1);
|
||||
Assert.False(data == copy);
|
||||
Assert.True(data != copy);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,5 +21,48 @@ namespace Tests
|
|||
[Fact]
|
||||
public void IsMonitoring_Default_On_NetStandard() =>
|
||||
Assert.False(Magnetometer.IsMonitoring);
|
||||
|
||||
[Fact]
|
||||
public void MagnetometerData_Equals_AreSameCopy()
|
||||
{
|
||||
var data = new MagnetometerData(0, 0, 0);
|
||||
var copy = data;
|
||||
var res = data.Equals(copy);
|
||||
Assert.True(res);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void MagnetometerData_Equals_AreSameValues()
|
||||
{
|
||||
var data = new MagnetometerData(0, 0, 0);
|
||||
var copy = new MagnetometerData(0, 0, 0);
|
||||
Assert.True(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void MagnetometerData_Equals_AreDifferent()
|
||||
{
|
||||
var data = new MagnetometerData(0, 0, 0);
|
||||
var copy = new MagnetometerData(0, 0, 1);
|
||||
Assert.False(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void MagnetometerData_Equals_Operator_AreSameValues()
|
||||
{
|
||||
var data = new MagnetometerData(0, 0, 0);
|
||||
var copy = new MagnetometerData(0, 0, 0);
|
||||
Assert.True(data == copy);
|
||||
Assert.False(data != copy);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void MagnetometerData_Equals_Operator_AreDifferent()
|
||||
{
|
||||
var data = new MagnetometerData(0, 0, 0);
|
||||
var copy = new MagnetometerData(0, 0, 1);
|
||||
Assert.False(data == copy);
|
||||
Assert.True(data != copy);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
using Xamarin.Essentials;
|
||||
using Xunit;
|
||||
|
||||
namespace Tests
|
||||
{
|
||||
public class OrientationSensor_Tests
|
||||
{
|
||||
[Fact]
|
||||
public void OrientationSensorData_Equals_AreSameCopy()
|
||||
{
|
||||
var data = new OrientationSensorData(0, 0, 0, 0);
|
||||
var copy = data;
|
||||
var res = data.Equals(copy);
|
||||
Assert.True(res);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void OrientationSensorData_Equals_AreSameValues()
|
||||
{
|
||||
var data = new OrientationSensorData(0, 0, 0, 0);
|
||||
var copy = new OrientationSensorData(0, 0, 0, 0);
|
||||
Assert.True(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void OrientationSensorData_Equals_AreDifferent()
|
||||
{
|
||||
var data = new OrientationSensorData(0, 0, 0, 0);
|
||||
var copy = new OrientationSensorData(0, 0, 0, 1);
|
||||
Assert.False(data.Equals(copy));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void OrientationSensorData_Equals_Operator_AreSameValues()
|
||||
{
|
||||
var data = new OrientationSensorData(0, 0, 0, 0);
|
||||
var copy = new OrientationSensorData(0, 0, 0, 0);
|
||||
Assert.True(data == copy);
|
||||
Assert.False(data != copy);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void OrientationSensorData_Equals_Operator_AreDifferent()
|
||||
{
|
||||
var data = new OrientationSensorData(0, 0, 0, 0);
|
||||
var copy = new OrientationSensorData(0, 0, 0, 1);
|
||||
Assert.False(data == copy);
|
||||
Assert.True(data != copy);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -73,7 +73,7 @@ namespace Xamarin.Essentials
|
|||
public AccelerometerData Reading { get; }
|
||||
}
|
||||
|
||||
public struct AccelerometerData
|
||||
public readonly struct AccelerometerData : IEquatable<AccelerometerData>
|
||||
{
|
||||
internal AccelerometerData(double x, double y, double z)
|
||||
: this((float)x, (float)y, (float)z)
|
||||
|
@ -84,5 +84,24 @@ namespace Xamarin.Essentials
|
|||
Acceleration = new Vector3(x, y, z);
|
||||
|
||||
public Vector3 Acceleration { get; }
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (!(obj is AccelerometerData compassData))
|
||||
return false;
|
||||
return Equals(compassData);
|
||||
}
|
||||
|
||||
public bool Equals(AccelerometerData other) => Acceleration.Equals(other.Acceleration);
|
||||
|
||||
public static bool operator ==(AccelerometerData left, AccelerometerData right) =>
|
||||
Equals(left, right);
|
||||
|
||||
public static bool operator !=(AccelerometerData left, AccelerometerData right) =>
|
||||
!Equals(left, right);
|
||||
|
||||
public override int GetHashCode() => Acceleration.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,11 +75,30 @@ namespace Xamarin.Essentials
|
|||
public CompassData Reading { get; }
|
||||
}
|
||||
|
||||
public struct CompassData
|
||||
public readonly struct CompassData : IEquatable<CompassData>
|
||||
{
|
||||
internal CompassData(double headingMagneticNorth) =>
|
||||
HeadingMagneticNorth = headingMagneticNorth;
|
||||
|
||||
public double HeadingMagneticNorth { get; }
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (!(obj is CompassData compassData))
|
||||
return false;
|
||||
return Equals(compassData);
|
||||
}
|
||||
|
||||
public bool Equals(CompassData other) => HeadingMagneticNorth.Equals(other.HeadingMagneticNorth);
|
||||
|
||||
public static bool operator ==(CompassData left, CompassData right) =>
|
||||
Equals(left, right);
|
||||
|
||||
public static bool operator !=(CompassData left, CompassData right) =>
|
||||
!Equals(left, right);
|
||||
|
||||
public override int GetHashCode() => HeadingMagneticNorth.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace Xamarin.Essentials
|
|||
public GyroscopeData Reading { get; }
|
||||
}
|
||||
|
||||
public struct GyroscopeData
|
||||
public readonly struct GyroscopeData : IEquatable<GyroscopeData>
|
||||
{
|
||||
internal GyroscopeData(double x, double y, double z)
|
||||
: this((float)x, (float)y, (float)z)
|
||||
|
@ -85,5 +85,24 @@ namespace Xamarin.Essentials
|
|||
AngularVelocity = new Vector3(x, y, z);
|
||||
|
||||
public Vector3 AngularVelocity { get; }
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (!(obj is GyroscopeData compassData))
|
||||
return false;
|
||||
return Equals(compassData);
|
||||
}
|
||||
|
||||
public bool Equals(GyroscopeData other) => AngularVelocity.Equals(other.AngularVelocity);
|
||||
|
||||
public static bool operator ==(GyroscopeData left, GyroscopeData right) =>
|
||||
Equals(left, right);
|
||||
|
||||
public static bool operator !=(GyroscopeData left, GyroscopeData right) =>
|
||||
!Equals(left, right);
|
||||
|
||||
public override int GetHashCode() => AngularVelocity.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace Xamarin.Essentials
|
|||
public MagnetometerData Reading { get; }
|
||||
}
|
||||
|
||||
public struct MagnetometerData
|
||||
public readonly struct MagnetometerData : IEquatable<MagnetometerData>
|
||||
{
|
||||
internal MagnetometerData(double x, double y, double z)
|
||||
: this((float)x, (float)y, (float)z)
|
||||
|
@ -85,5 +85,24 @@ namespace Xamarin.Essentials
|
|||
MagneticField = new Vector3(x, y, z);
|
||||
|
||||
public Vector3 MagneticField { get; }
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (!(obj is MagnetometerData compassData))
|
||||
return false;
|
||||
return Equals(compassData);
|
||||
}
|
||||
|
||||
public bool Equals(MagnetometerData other) => MagneticField.Equals(other.MagneticField);
|
||||
|
||||
public static bool operator ==(MagnetometerData left, MagnetometerData right) =>
|
||||
Equals(left, right);
|
||||
|
||||
public static bool operator !=(MagnetometerData left, MagnetometerData right) =>
|
||||
!Equals(left, right);
|
||||
|
||||
public override int GetHashCode() => MagneticField.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace Xamarin.Essentials
|
|||
public OrientationSensorData Reading { get; }
|
||||
}
|
||||
|
||||
public struct OrientationSensorData
|
||||
public readonly struct OrientationSensorData : IEquatable<OrientationSensorData>
|
||||
{
|
||||
internal OrientationSensorData(double x, double y, double z, double w)
|
||||
: this((float)x, (float)y, (float)z, (float)w)
|
||||
|
@ -85,5 +85,24 @@ namespace Xamarin.Essentials
|
|||
Orientation = new Quaternion(x, y, z, w);
|
||||
|
||||
public Quaternion Orientation { get; }
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (!(obj is OrientationSensorData compassData))
|
||||
return false;
|
||||
return Equals(compassData);
|
||||
}
|
||||
|
||||
public bool Equals(OrientationSensorData other) => Orientation.Equals(other.Orientation);
|
||||
|
||||
public static bool operator ==(OrientationSensorData left, OrientationSensorData right) =>
|
||||
Equals(left, right);
|
||||
|
||||
public static bool operator !=(OrientationSensorData left, OrientationSensorData right) =>
|
||||
!Equals(left, right);
|
||||
|
||||
public override int GetHashCode() => Orientation.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace Xamarin.Essentials
|
|||
}
|
||||
}
|
||||
|
||||
public partial struct Locale
|
||||
public class Locale
|
||||
{
|
||||
public string Language { get; }
|
||||
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.AccelerometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AccelerometerData" Id="T:Xamarin.Essentials.AccelerometerData">
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Equality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Inequality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.AccelerometerData.Acceleration" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AppInfo" Id="T:Xamarin.Essentials.AppInfo">
|
||||
|
@ -89,6 +94,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.CompassChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.CompassData" Id="T:Xamarin.Essentials.CompassData">
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Equality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Inequality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="P:Xamarin.Essentials.CompassData.HeadingMagneticNorth" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.ConnectionProfile" Id="T:Xamarin.Essentials.ConnectionProfile">
|
||||
|
@ -225,6 +235,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.GyroscopeChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.GyroscopeData" Id="T:Xamarin.Essentials.GyroscopeData">
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Equality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Inequality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="P:Xamarin.Essentials.GyroscopeData.AngularVelocity" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.Launcher" Id="T:Xamarin.Essentials.Launcher">
|
||||
|
@ -274,6 +289,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.MagnetometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MagnetometerData" Id="T:Xamarin.Essentials.MagnetometerData">
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Equality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Inequality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.MagnetometerData.MagneticField" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MainThread" Id="T:Xamarin.Essentials.MainThread">
|
||||
|
@ -321,6 +341,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.OrientationSensorChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.OrientationSensorData" Id="T:Xamarin.Essentials.OrientationSensorData">
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Equality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Inequality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="P:Xamarin.Essentials.OrientationSensorData.Orientation" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.PermissionException" Id="T:Xamarin.Essentials.PermissionException">
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.AccelerometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AccelerometerData" Id="T:Xamarin.Essentials.AccelerometerData">
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Equality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Inequality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.AccelerometerData.Acceleration" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AppInfo" Id="T:Xamarin.Essentials.AppInfo">
|
||||
|
@ -90,6 +95,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.CompassChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.CompassData" Id="T:Xamarin.Essentials.CompassData">
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Equality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Inequality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="P:Xamarin.Essentials.CompassData.HeadingMagneticNorth" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.ConnectionProfile" Id="T:Xamarin.Essentials.ConnectionProfile">
|
||||
|
@ -226,6 +236,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.GyroscopeChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.GyroscopeData" Id="T:Xamarin.Essentials.GyroscopeData">
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Equality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Inequality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="P:Xamarin.Essentials.GyroscopeData.AngularVelocity" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.Launcher" Id="T:Xamarin.Essentials.Launcher">
|
||||
|
@ -275,6 +290,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.MagnetometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MagnetometerData" Id="T:Xamarin.Essentials.MagnetometerData">
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Equality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Inequality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.MagnetometerData.MagneticField" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MainThread" Id="T:Xamarin.Essentials.MainThread">
|
||||
|
@ -322,6 +342,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.OrientationSensorChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.OrientationSensorData" Id="T:Xamarin.Essentials.OrientationSensorData">
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Equality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Inequality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="P:Xamarin.Essentials.OrientationSensorData.Orientation" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.PermissionException" Id="T:Xamarin.Essentials.PermissionException">
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.AccelerometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AccelerometerData" Id="T:Xamarin.Essentials.AccelerometerData">
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Equality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Inequality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.AccelerometerData.Acceleration" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AppInfo" Id="T:Xamarin.Essentials.AppInfo">
|
||||
|
@ -89,6 +94,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.CompassChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.CompassData" Id="T:Xamarin.Essentials.CompassData">
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Equality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Inequality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="P:Xamarin.Essentials.CompassData.HeadingMagneticNorth" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.ConnectionProfile" Id="T:Xamarin.Essentials.ConnectionProfile">
|
||||
|
@ -225,6 +235,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.GyroscopeChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.GyroscopeData" Id="T:Xamarin.Essentials.GyroscopeData">
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Equality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Inequality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="P:Xamarin.Essentials.GyroscopeData.AngularVelocity" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.Launcher" Id="T:Xamarin.Essentials.Launcher">
|
||||
|
@ -274,6 +289,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.MagnetometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MagnetometerData" Id="T:Xamarin.Essentials.MagnetometerData">
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Equality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Inequality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.MagnetometerData.MagneticField" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MainThread" Id="T:Xamarin.Essentials.MainThread">
|
||||
|
@ -321,6 +341,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.OrientationSensorChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.OrientationSensorData" Id="T:Xamarin.Essentials.OrientationSensorData">
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Equality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Inequality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="P:Xamarin.Essentials.OrientationSensorData.Orientation" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.PermissionException" Id="T:Xamarin.Essentials.PermissionException">
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.AccelerometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AccelerometerData" Id="T:Xamarin.Essentials.AccelerometerData">
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.Equals(Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Equality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.AccelerometerData.op_Inequality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.AccelerometerData.Acceleration" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.AppInfo" Id="T:Xamarin.Essentials.AppInfo">
|
||||
|
@ -89,6 +94,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.CompassChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.CompassData" Id="T:Xamarin.Essentials.CompassData">
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.Equals(Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Equality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="M:Xamarin.Essentials.CompassData.op_Inequality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<Member Id="P:Xamarin.Essentials.CompassData.HeadingMagneticNorth" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.ConnectionProfile" Id="T:Xamarin.Essentials.ConnectionProfile">
|
||||
|
@ -225,6 +235,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.GyroscopeChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.GyroscopeData" Id="T:Xamarin.Essentials.GyroscopeData">
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.Equals(Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Equality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="M:Xamarin.Essentials.GyroscopeData.op_Inequality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<Member Id="P:Xamarin.Essentials.GyroscopeData.AngularVelocity" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.Launcher" Id="T:Xamarin.Essentials.Launcher">
|
||||
|
@ -274,6 +289,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.MagnetometerChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MagnetometerData" Id="T:Xamarin.Essentials.MagnetometerData">
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.Equals(Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Equality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="M:Xamarin.Essentials.MagnetometerData.op_Inequality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<Member Id="P:Xamarin.Essentials.MagnetometerData.MagneticField" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.MainThread" Id="T:Xamarin.Essentials.MainThread">
|
||||
|
@ -321,6 +341,11 @@
|
|||
<Member Id="P:Xamarin.Essentials.OrientationSensorChangedEventArgs.Reading" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.OrientationSensorData" Id="T:Xamarin.Essentials.OrientationSensorData">
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(System.Object)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.Equals(Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.GetHashCode" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Equality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="M:Xamarin.Essentials.OrientationSensorData.op_Inequality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<Member Id="P:Xamarin.Essentials.OrientationSensorData.Orientation" />
|
||||
</Type>
|
||||
<Type Name="Xamarin.Essentials.PermissionException" Id="T:Xamarin.Essentials.PermissionException">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Type Name="AccelerometerData" FullName="Xamarin.Essentials.AccelerometerData">
|
||||
<TypeSignature Language="C#" Value="public struct AccelerometerData" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit AccelerometerData extends System.ValueType" />
|
||||
<TypeSignature Language="C#" Value="public struct AccelerometerData : IEquatable<Xamarin.Essentials.AccelerometerData>" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit AccelerometerData extends System.ValueType implements class System.IEquatable`1<valuetype Xamarin.Essentials.AccelerometerData>" />
|
||||
<TypeSignature Language="DocId" Value="T:Xamarin.Essentials.AccelerometerData" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
|
@ -9,7 +9,16 @@
|
|||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>System.IEquatable<Xamarin.Essentials.AccelerometerData></InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes>
|
||||
<Attribute FrameworkAlternate="xamarin-essentials-android;xamarin-essentials-ios;xamarin-essentials-uwp">
|
||||
<AttributeName>System.Runtime.CompilerServices.IsReadOnly</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>Data representing the devies' three accelerometers.</summary>
|
||||
<remarks>
|
||||
|
@ -35,5 +44,127 @@
|
|||
<remarks></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.AccelerometerData.Equals(System.Object)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="obj" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="obj">Object to compare</param>
|
||||
<summary>If equal to another object</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public bool Equals (Xamarin.Essentials.AccelerometerData other);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype Xamarin.Essentials.AccelerometerData other) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.AccelerometerData.Equals(Xamarin.Essentials.AccelerometerData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<Implements>
|
||||
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
|
||||
</Implements>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="other" Type="Xamarin.Essentials.AccelerometerData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="other">Other AccelerometerData to compare with.</param>
|
||||
<summary>Compares the underlying Vector3 instances.</summary>
|
||||
<returns>True if they are equal, otherwise false.</returns>
|
||||
<remarks><para /></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetHashCode">
|
||||
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.AccelerometerData.GetHashCode" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Get the hash code for object.</summary>
|
||||
<returns>The hash code</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Equality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator == (Xamarin.Essentials.AccelerometerData left, Xamarin.Essentials.AccelerometerData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype Xamarin.Essentials.AccelerometerData left, valuetype Xamarin.Essentials.AccelerometerData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.AccelerometerData.op_Equality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.AccelerometerData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.AccelerometerData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to compare</param>
|
||||
<param name="right">Right to compare</param>
|
||||
<summary>Equality operator for equals</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Inequality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator != (Xamarin.Essentials.AccelerometerData left, Xamarin.Essentials.AccelerometerData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype Xamarin.Essentials.AccelerometerData left, valuetype Xamarin.Essentials.AccelerometerData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.AccelerometerData.op_Inequality(Xamarin.Essentials.AccelerometerData,Xamarin.Essentials.AccelerometerData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.AccelerometerData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.AccelerometerData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to check</param>
|
||||
<param name="right">Right to check</param>
|
||||
<summary>Inequality check</summary>
|
||||
<returns>If not equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Type Name="CompassData" FullName="Xamarin.Essentials.CompassData">
|
||||
<TypeSignature Language="C#" Value="public struct CompassData" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit CompassData extends System.ValueType" />
|
||||
<TypeSignature Language="C#" Value="public struct CompassData : IEquatable<Xamarin.Essentials.CompassData>" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit CompassData extends System.ValueType implements class System.IEquatable`1<valuetype Xamarin.Essentials.CompassData>" />
|
||||
<TypeSignature Language="DocId" Value="T:Xamarin.Essentials.CompassData" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
|
@ -9,7 +9,16 @@
|
|||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>System.IEquatable<Xamarin.Essentials.CompassData></InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes>
|
||||
<Attribute FrameworkAlternate="xamarin-essentials-android;xamarin-essentials-ios;xamarin-essentials-uwp">
|
||||
<AttributeName>System.Runtime.CompilerServices.IsReadOnly</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>
|
||||
<para>Contains the orientation of the user's device.</para>
|
||||
|
@ -19,6 +28,78 @@
|
|||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.CompassData.Equals(System.Object)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="obj" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="obj">Object to compare</param>
|
||||
<summary>If equal to another object</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public bool Equals (Xamarin.Essentials.CompassData other);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype Xamarin.Essentials.CompassData other) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.CompassData.Equals(Xamarin.Essentials.CompassData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<Implements>
|
||||
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
|
||||
</Implements>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="other" Type="Xamarin.Essentials.CompassData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="other">Other AccelerometerData to compare with.</param>
|
||||
<summary>Compares the underlying doubles.</summary>
|
||||
<returns>True if they are equal, otherwise false.</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetHashCode">
|
||||
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.CompassData.GetHashCode" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Get the hash code for object.</summary>
|
||||
<returns>The hash code</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="HeadingMagneticNorth">
|
||||
<MemberSignature Language="C#" Value="public double HeadingMagneticNorth { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance float64 HeadingMagneticNorth" />
|
||||
|
@ -39,5 +120,57 @@
|
|||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Equality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator == (Xamarin.Essentials.CompassData left, Xamarin.Essentials.CompassData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype Xamarin.Essentials.CompassData left, valuetype Xamarin.Essentials.CompassData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.CompassData.op_Equality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.CompassData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.CompassData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to compare</param>
|
||||
<param name="right">Right to compare</param>
|
||||
<summary>Equality operator for equals</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Inequality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator != (Xamarin.Essentials.CompassData left, Xamarin.Essentials.CompassData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype Xamarin.Essentials.CompassData left, valuetype Xamarin.Essentials.CompassData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.CompassData.op_Inequality(Xamarin.Essentials.CompassData,Xamarin.Essentials.CompassData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.CompassData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.CompassData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to check</param>
|
||||
<param name="right">Right to check</param>
|
||||
<summary>Inequality check</summary>
|
||||
<returns>If not equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Type Name="GyroscopeData" FullName="Xamarin.Essentials.GyroscopeData">
|
||||
<TypeSignature Language="C#" Value="public struct GyroscopeData" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit GyroscopeData extends System.ValueType" />
|
||||
<TypeSignature Language="C#" Value="public struct GyroscopeData : IEquatable<Xamarin.Essentials.GyroscopeData>" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit GyroscopeData extends System.ValueType implements class System.IEquatable`1<valuetype Xamarin.Essentials.GyroscopeData>" />
|
||||
<TypeSignature Language="DocId" Value="T:Xamarin.Essentials.GyroscopeData" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
|
@ -9,7 +9,16 @@
|
|||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>System.IEquatable<Xamarin.Essentials.GyroscopeData></InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes>
|
||||
<Attribute FrameworkAlternate="xamarin-essentials-android;xamarin-essentials-ios;xamarin-essentials-uwp">
|
||||
<AttributeName>System.Runtime.CompilerServices.IsReadOnly</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>Gyroscope information.</summary>
|
||||
<remarks>
|
||||
|
@ -35,5 +44,127 @@
|
|||
<remarks></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.GyroscopeData.Equals(System.Object)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="obj" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="obj">Object to compare</param>
|
||||
<summary>If equal to another object</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public bool Equals (Xamarin.Essentials.GyroscopeData other);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype Xamarin.Essentials.GyroscopeData other) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.GyroscopeData.Equals(Xamarin.Essentials.GyroscopeData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<Implements>
|
||||
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
|
||||
</Implements>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="other" Type="Xamarin.Essentials.GyroscopeData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="other">Other GyroscopeData to compare with.</param>
|
||||
<summary>Compares the underlying Vector3 instances.</summary>
|
||||
<returns>True if they match, otherwise false.</returns>
|
||||
<remarks><para /></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetHashCode">
|
||||
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.GyroscopeData.GetHashCode" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Get the hash code for object.</summary>
|
||||
<returns>The hash code</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Equality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator == (Xamarin.Essentials.GyroscopeData left, Xamarin.Essentials.GyroscopeData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype Xamarin.Essentials.GyroscopeData left, valuetype Xamarin.Essentials.GyroscopeData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.GyroscopeData.op_Equality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.GyroscopeData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.GyroscopeData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to compare</param>
|
||||
<param name="right">Right to compare</param>
|
||||
<summary>Equality operator for equals</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Inequality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator != (Xamarin.Essentials.GyroscopeData left, Xamarin.Essentials.GyroscopeData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype Xamarin.Essentials.GyroscopeData left, valuetype Xamarin.Essentials.GyroscopeData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.GyroscopeData.op_Inequality(Xamarin.Essentials.GyroscopeData,Xamarin.Essentials.GyroscopeData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.GyroscopeData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.GyroscopeData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to check</param>
|
||||
<param name="right">Right to check</param>
|
||||
<summary>Inequality check</summary>
|
||||
<returns>If not equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Type Name="Locale" FullName="Xamarin.Essentials.Locale">
|
||||
<TypeSignature Language="C#" Value="public struct Locale" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit Locale extends System.ValueType" />
|
||||
<TypeSignature Language="C#" Value="public class Locale" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Locale extends System.Object" />
|
||||
<TypeSignature Language="DocId" Value="T:Xamarin.Essentials.Locale" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
|
@ -8,6 +8,7 @@
|
|||
</AssemblyInfo>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName FrameworkAlternate="xamarin-essentials">System.Object</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Type Name="MagnetometerData" FullName="Xamarin.Essentials.MagnetometerData">
|
||||
<TypeSignature Language="C#" Value="public struct MagnetometerData" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit MagnetometerData extends System.ValueType" />
|
||||
<TypeSignature Language="C#" Value="public struct MagnetometerData : IEquatable<Xamarin.Essentials.MagnetometerData>" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit MagnetometerData extends System.ValueType implements class System.IEquatable`1<valuetype Xamarin.Essentials.MagnetometerData>" />
|
||||
<TypeSignature Language="DocId" Value="T:Xamarin.Essentials.MagnetometerData" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
|
@ -9,7 +9,16 @@
|
|||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>System.IEquatable<Xamarin.Essentials.MagnetometerData></InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes>
|
||||
<Attribute FrameworkAlternate="xamarin-essentials-android;xamarin-essentials-ios;xamarin-essentials-uwp">
|
||||
<AttributeName>System.Runtime.CompilerServices.IsReadOnly</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>Data for magnetometer changes.</summary>
|
||||
<remarks>
|
||||
|
@ -17,6 +26,76 @@
|
|||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.MagnetometerData.Equals(System.Object)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="obj" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="obj">Object to compare</param>
|
||||
<summary>If equal to another object</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public bool Equals (Xamarin.Essentials.MagnetometerData other);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype Xamarin.Essentials.MagnetometerData other) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.MagnetometerData.Equals(Xamarin.Essentials.MagnetometerData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<Implements>
|
||||
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
|
||||
</Implements>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="other" Type="Xamarin.Essentials.MagnetometerData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="other">Other MagnetometerData to compare with.</param>
|
||||
<summary>Compares the underlying Vector3 instances.</summary>
|
||||
<returns>True if they match, otherwise false.</returns>
|
||||
<remarks><para /></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetHashCode">
|
||||
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.MagnetometerData.GetHashCode" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Get the hash code for object.</summary>
|
||||
<returns>The hash code</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MagneticField">
|
||||
<MemberSignature Language="C#" Value="public System.Numerics.Vector3 MagneticField { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Numerics.Vector3 MagneticField" />
|
||||
|
@ -35,5 +114,57 @@
|
|||
<remarks></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Equality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator == (Xamarin.Essentials.MagnetometerData left, Xamarin.Essentials.MagnetometerData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype Xamarin.Essentials.MagnetometerData left, valuetype Xamarin.Essentials.MagnetometerData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.MagnetometerData.op_Equality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.MagnetometerData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.MagnetometerData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to compare</param>
|
||||
<param name="right">Right to compare</param>
|
||||
<summary>Equality operator for equals</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Inequality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator != (Xamarin.Essentials.MagnetometerData left, Xamarin.Essentials.MagnetometerData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype Xamarin.Essentials.MagnetometerData left, valuetype Xamarin.Essentials.MagnetometerData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.MagnetometerData.op_Inequality(Xamarin.Essentials.MagnetometerData,Xamarin.Essentials.MagnetometerData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.MagnetometerData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.MagnetometerData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to check</param>
|
||||
<param name="right">Right to check</param>
|
||||
<summary>Inequality check</summary>
|
||||
<returns>If not equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Type Name="OrientationSensorData" FullName="Xamarin.Essentials.OrientationSensorData">
|
||||
<TypeSignature Language="C#" Value="public struct OrientationSensorData" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit OrientationSensorData extends System.ValueType" />
|
||||
<TypeSignature Language="C#" Value="public struct OrientationSensorData : IEquatable<Xamarin.Essentials.OrientationSensorData>" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit OrientationSensorData extends System.ValueType implements class System.IEquatable`1<valuetype Xamarin.Essentials.OrientationSensorData>" />
|
||||
<TypeSignature Language="DocId" Value="T:Xamarin.Essentials.OrientationSensorData" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
|
@ -9,7 +9,16 @@
|
|||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>System.IEquatable<Xamarin.Essentials.OrientationSensorData></InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes>
|
||||
<Attribute FrameworkAlternate="xamarin-essentials-android;xamarin-essentials-ios;xamarin-essentials-uwp">
|
||||
<AttributeName>System.Runtime.CompilerServices.IsReadOnly</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Docs>
|
||||
<summary>Sensor data for orientation.</summary>
|
||||
<remarks>
|
||||
|
@ -17,6 +26,128 @@
|
|||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.OrientationSensorData.Equals(System.Object)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="obj" Type="System.Object" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="obj">Object to compare</param>
|
||||
<summary>If equal to another object</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equals">
|
||||
<MemberSignature Language="C#" Value="public bool Equals (Xamarin.Essentials.OrientationSensorData other);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype Xamarin.Essentials.OrientationSensorData other) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.OrientationSensorData.Equals(Xamarin.Essentials.OrientationSensorData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<Implements>
|
||||
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
|
||||
</Implements>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="other" Type="Xamarin.Essentials.OrientationSensorData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="other">Other OrientationSensorData to compare with.</param>
|
||||
<summary>Compares the underlying Quaternion instances.</summary>
|
||||
<returns>True if they match, otherwise false.</returns>
|
||||
<remarks><para /></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetHashCode">
|
||||
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.OrientationSensorData.GetHashCode" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Get the hash code for object.</summary>
|
||||
<returns>The hash code</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Equality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator == (Xamarin.Essentials.OrientationSensorData left, Xamarin.Essentials.OrientationSensorData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype Xamarin.Essentials.OrientationSensorData left, valuetype Xamarin.Essentials.OrientationSensorData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.OrientationSensorData.op_Equality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.OrientationSensorData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.OrientationSensorData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to compare</param>
|
||||
<param name="right">Right to compare</param>
|
||||
<summary>Equality operator for equals</summary>
|
||||
<returns>If equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="op_Inequality">
|
||||
<MemberSignature Language="C#" Value="public static bool operator != (Xamarin.Essentials.OrientationSensorData left, Xamarin.Essentials.OrientationSensorData right);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype Xamarin.Essentials.OrientationSensorData left, valuetype Xamarin.Essentials.OrientationSensorData right) cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.OrientationSensorData.op_Inequality(Xamarin.Essentials.OrientationSensorData,Xamarin.Essentials.OrientationSensorData)" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>Xamarin.Essentials</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
</AssemblyInfo>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="left" Type="Xamarin.Essentials.OrientationSensorData" />
|
||||
<Parameter Name="right" Type="Xamarin.Essentials.OrientationSensorData" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="left">Left to check</param>
|
||||
<param name="right">Right to check</param>
|
||||
<summary>Inequality check</summary>
|
||||
<returns>If not equal</returns>
|
||||
<remarks>
|
||||
<para />
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Orientation">
|
||||
<MemberSignature Language="C#" Value="public System.Numerics.Quaternion Orientation { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Numerics.Quaternion Orientation" />
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</Member>
|
||||
<Member MemberName="Locale">
|
||||
<MemberSignature Language="C#" Value="public Xamarin.Essentials.Locale Locale { get; set; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance valuetype Xamarin.Essentials.Locale Locale" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class Xamarin.Essentials.Locale Locale" />
|
||||
<MemberSignature Language="DocId" Value="P:Xamarin.Essentials.SpeakSettings.Locale" />
|
||||
<MemberType>Property</MemberType>
|
||||
<AssemblyInfo>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<Members>
|
||||
<Member MemberName="GetLocalesAsync">
|
||||
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Locale>> GetLocalesAsync ();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class System.Collections.Generic.IEnumerable`1<valuetype Xamarin.Essentials.Locale>> GetLocalesAsync() cil managed" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class System.Collections.Generic.IEnumerable`1<class Xamarin.Essentials.Locale>> GetLocalesAsync() cil managed" />
|
||||
<MemberSignature Language="DocId" Value="M:Xamarin.Essentials.TextToSpeech.GetLocalesAsync" />
|
||||
<MemberType>Method</MemberType>
|
||||
<AssemblyInfo>
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<Type Name="GyroscopeChangedEventArgs" Kind="Class" />
|
||||
<Type Name="GyroscopeData" Kind="Structure" />
|
||||
<Type Name="Launcher" Kind="Class" />
|
||||
<Type Name="Locale" Kind="Structure" />
|
||||
<Type Name="Locale" Kind="Class" />
|
||||
<Type Name="Location" Kind="Class" />
|
||||
<Type Name="LocationExtensions" Kind="Class" />
|
||||
<Type Name="Magnetometer" Kind="Class" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче