diff --git a/Tests/Acceleromter_Tests.cs b/Tests/Acceleromter_Tests.cs index 4e80a3e..0dc0c10 100644 --- a/Tests/Acceleromter_Tests.cs +++ b/Tests/Acceleromter_Tests.cs @@ -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); + } } } diff --git a/Tests/Compass_Tests.cs b/Tests/Compass_Tests.cs index 12fccec..d9a15f4 100644 --- a/Tests/Compass_Tests.cs +++ b/Tests/Compass_Tests.cs @@ -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); + } } } diff --git a/Tests/Gyroscope_Tests.cs b/Tests/Gyroscope_Tests.cs index 3cb5c51..18745c5 100644 --- a/Tests/Gyroscope_Tests.cs +++ b/Tests/Gyroscope_Tests.cs @@ -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); + } } } diff --git a/Tests/Magnetometer_Tests.cs b/Tests/Magnetometer_Tests.cs index d73a4b6..7981a50 100644 --- a/Tests/Magnetometer_Tests.cs +++ b/Tests/Magnetometer_Tests.cs @@ -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); + } } } diff --git a/Tests/OrientationSensor_Tests.cs b/Tests/OrientationSensor_Tests.cs new file mode 100644 index 0000000..1c3e16f --- /dev/null +++ b/Tests/OrientationSensor_Tests.cs @@ -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); + } + } +} diff --git a/Xamarin.Essentials/Accelerometer/Accelerometer.shared.cs b/Xamarin.Essentials/Accelerometer/Accelerometer.shared.cs index f2c8ae4..e1cfaac 100644 --- a/Xamarin.Essentials/Accelerometer/Accelerometer.shared.cs +++ b/Xamarin.Essentials/Accelerometer/Accelerometer.shared.cs @@ -73,7 +73,7 @@ namespace Xamarin.Essentials public AccelerometerData Reading { get; } } - public struct AccelerometerData + public readonly struct AccelerometerData : IEquatable { 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(); } } diff --git a/Xamarin.Essentials/Compass/Compass.shared.cs b/Xamarin.Essentials/Compass/Compass.shared.cs index ac2db32..52ed4b9 100644 --- a/Xamarin.Essentials/Compass/Compass.shared.cs +++ b/Xamarin.Essentials/Compass/Compass.shared.cs @@ -75,11 +75,30 @@ namespace Xamarin.Essentials public CompassData Reading { get; } } - public struct CompassData + public readonly struct CompassData : IEquatable { 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(); } } diff --git a/Xamarin.Essentials/Gyroscope/Gyroscope.shared.cs b/Xamarin.Essentials/Gyroscope/Gyroscope.shared.cs index 74f9ffe..f2f6302 100644 --- a/Xamarin.Essentials/Gyroscope/Gyroscope.shared.cs +++ b/Xamarin.Essentials/Gyroscope/Gyroscope.shared.cs @@ -74,7 +74,7 @@ namespace Xamarin.Essentials public GyroscopeData Reading { get; } } - public struct GyroscopeData + public readonly struct GyroscopeData : IEquatable { 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(); } } diff --git a/Xamarin.Essentials/Magnetometer/Magnetometer.shared.cs b/Xamarin.Essentials/Magnetometer/Magnetometer.shared.cs index 18e3e9e..d2ec9f7 100644 --- a/Xamarin.Essentials/Magnetometer/Magnetometer.shared.cs +++ b/Xamarin.Essentials/Magnetometer/Magnetometer.shared.cs @@ -74,7 +74,7 @@ namespace Xamarin.Essentials public MagnetometerData Reading { get; } } - public struct MagnetometerData + public readonly struct MagnetometerData : IEquatable { 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(); } } diff --git a/Xamarin.Essentials/OrientationSensor/OrientationSensor.shared.cs b/Xamarin.Essentials/OrientationSensor/OrientationSensor.shared.cs index f8d7ff5..9d78282 100644 --- a/Xamarin.Essentials/OrientationSensor/OrientationSensor.shared.cs +++ b/Xamarin.Essentials/OrientationSensor/OrientationSensor.shared.cs @@ -74,7 +74,7 @@ namespace Xamarin.Essentials public OrientationSensorData Reading { get; } } - public struct OrientationSensorData + public readonly struct OrientationSensorData : IEquatable { 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(); } } diff --git a/Xamarin.Essentials/TextToSpeech/TextToSpeech.shared.cs b/Xamarin.Essentials/TextToSpeech/TextToSpeech.shared.cs index 87d65e7..3cb745e 100644 --- a/Xamarin.Essentials/TextToSpeech/TextToSpeech.shared.cs +++ b/Xamarin.Essentials/TextToSpeech/TextToSpeech.shared.cs @@ -63,7 +63,7 @@ namespace Xamarin.Essentials } } - public partial struct Locale + public class Locale { public string Language { get; } diff --git a/docs/en/FrameworksIndex/xamarin-essentials-android.xml b/docs/en/FrameworksIndex/xamarin-essentials-android.xml index 3f2154c..ba3fa73 100644 --- a/docs/en/FrameworksIndex/xamarin-essentials-android.xml +++ b/docs/en/FrameworksIndex/xamarin-essentials-android.xml @@ -10,6 +10,11 @@ + + + + + @@ -89,6 +94,11 @@ + + + + + @@ -225,6 +235,11 @@ + + + + + @@ -274,6 +289,11 @@ + + + + + @@ -321,6 +341,11 @@ + + + + + diff --git a/docs/en/FrameworksIndex/xamarin-essentials-ios.xml b/docs/en/FrameworksIndex/xamarin-essentials-ios.xml index e558f8d..32b373d 100644 --- a/docs/en/FrameworksIndex/xamarin-essentials-ios.xml +++ b/docs/en/FrameworksIndex/xamarin-essentials-ios.xml @@ -10,6 +10,11 @@ + + + + + @@ -90,6 +95,11 @@ + + + + + @@ -226,6 +236,11 @@ + + + + + @@ -275,6 +290,11 @@ + + + + + @@ -322,6 +342,11 @@ + + + + + diff --git a/docs/en/FrameworksIndex/xamarin-essentials-uwp.xml b/docs/en/FrameworksIndex/xamarin-essentials-uwp.xml index 27d7359..7d06d3f 100644 --- a/docs/en/FrameworksIndex/xamarin-essentials-uwp.xml +++ b/docs/en/FrameworksIndex/xamarin-essentials-uwp.xml @@ -10,6 +10,11 @@ + + + + + @@ -89,6 +94,11 @@ + + + + + @@ -225,6 +235,11 @@ + + + + + @@ -274,6 +289,11 @@ + + + + + @@ -321,6 +341,11 @@ + + + + + diff --git a/docs/en/FrameworksIndex/xamarin-essentials.xml b/docs/en/FrameworksIndex/xamarin-essentials.xml index 6ca8ccb..e723bd3 100644 --- a/docs/en/FrameworksIndex/xamarin-essentials.xml +++ b/docs/en/FrameworksIndex/xamarin-essentials.xml @@ -10,6 +10,11 @@ + + + + + @@ -89,6 +94,11 @@ + + + + + @@ -225,6 +235,11 @@ + + + + + @@ -274,6 +289,11 @@ + + + + + @@ -321,6 +341,11 @@ + + + + + diff --git a/docs/en/Xamarin.Essentials/AccelerometerData.xml b/docs/en/Xamarin.Essentials/AccelerometerData.xml index b2f48ba..2a19473 100644 --- a/docs/en/Xamarin.Essentials/AccelerometerData.xml +++ b/docs/en/Xamarin.Essentials/AccelerometerData.xml @@ -1,6 +1,6 @@ - - + + Xamarin.Essentials @@ -9,7 +9,16 @@ System.ValueType - + + + System.IEquatable<Xamarin.Essentials.AccelerometerData> + + + + + System.Runtime.CompilerServices.IsReadOnly + + Data representing the devies' three accelerometers. @@ -35,5 +44,127 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Object to compare + If equal to another object + If equal + + + + + + + + + + Method + + M:System.IEquatable`1.Equals(`0) + + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Other AccelerometerData to compare with. + Compares the underlying Vector3 instances. + True if they are equal, otherwise false. + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Int32 + + + + Get the hash code for object. + The hash code + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to compare + Right to compare + Equality operator for equals + If equal + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to check + Right to check + Inequality check + If not equal + + + + + diff --git a/docs/en/Xamarin.Essentials/CompassData.xml b/docs/en/Xamarin.Essentials/CompassData.xml index 1338299..2b03c4e 100644 --- a/docs/en/Xamarin.Essentials/CompassData.xml +++ b/docs/en/Xamarin.Essentials/CompassData.xml @@ -1,6 +1,6 @@ - - + + Xamarin.Essentials @@ -9,7 +9,16 @@ System.ValueType - + + + System.IEquatable<Xamarin.Essentials.CompassData> + + + + + System.Runtime.CompilerServices.IsReadOnly + + Contains the orientation of the user's device. @@ -19,6 +28,78 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Object to compare + If equal to another object + If equal + + + + + + + + + + Method + + M:System.IEquatable`1.Equals(`0) + + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Other AccelerometerData to compare with. + Compares the underlying doubles. + True if they are equal, otherwise false. + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Int32 + + + + Get the hash code for object. + The hash code + + + + + @@ -39,5 +120,57 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to compare + Right to compare + Equality operator for equals + If equal + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to check + Right to check + Inequality check + If not equal + + + + + diff --git a/docs/en/Xamarin.Essentials/GyroscopeData.xml b/docs/en/Xamarin.Essentials/GyroscopeData.xml index 8562427..8c914da 100644 --- a/docs/en/Xamarin.Essentials/GyroscopeData.xml +++ b/docs/en/Xamarin.Essentials/GyroscopeData.xml @@ -1,6 +1,6 @@ - - + + Xamarin.Essentials @@ -9,7 +9,16 @@ System.ValueType - + + + System.IEquatable<Xamarin.Essentials.GyroscopeData> + + + + + System.Runtime.CompilerServices.IsReadOnly + + Gyroscope information. @@ -35,5 +44,127 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Object to compare + If equal to another object + If equal + + + + + + + + + + Method + + M:System.IEquatable`1.Equals(`0) + + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Other GyroscopeData to compare with. + Compares the underlying Vector3 instances. + True if they match, otherwise false. + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Int32 + + + + Get the hash code for object. + The hash code + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to compare + Right to compare + Equality operator for equals + If equal + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to check + Right to check + Inequality check + If not equal + + + + + diff --git a/docs/en/Xamarin.Essentials/Locale.xml b/docs/en/Xamarin.Essentials/Locale.xml index a3613e1..f361b5a 100644 --- a/docs/en/Xamarin.Essentials/Locale.xml +++ b/docs/en/Xamarin.Essentials/Locale.xml @@ -1,6 +1,6 @@ - - + + Xamarin.Essentials @@ -8,6 +8,7 @@ System.ValueType + System.Object diff --git a/docs/en/Xamarin.Essentials/MagnetometerData.xml b/docs/en/Xamarin.Essentials/MagnetometerData.xml index b8a8784..24cf982 100644 --- a/docs/en/Xamarin.Essentials/MagnetometerData.xml +++ b/docs/en/Xamarin.Essentials/MagnetometerData.xml @@ -1,6 +1,6 @@ - - + + Xamarin.Essentials @@ -9,7 +9,16 @@ System.ValueType - + + + System.IEquatable<Xamarin.Essentials.MagnetometerData> + + + + + System.Runtime.CompilerServices.IsReadOnly + + Data for magnetometer changes. @@ -17,6 +26,76 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Object to compare + If equal to another object + If equal + + + + + + + + + + Method + + M:System.IEquatable`1.Equals(`0) + + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Other MagnetometerData to compare with. + Compares the underlying Vector3 instances. + True if they match, otherwise false. + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Int32 + + + + Get the hash code for object. + The hash code + + + + + @@ -35,5 +114,57 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to compare + Right to compare + Equality operator for equals + If equal + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to check + Right to check + Inequality check + If not equal + + + + + diff --git a/docs/en/Xamarin.Essentials/OrientationSensorData.xml b/docs/en/Xamarin.Essentials/OrientationSensorData.xml index 40e86b6..7da3672 100644 --- a/docs/en/Xamarin.Essentials/OrientationSensorData.xml +++ b/docs/en/Xamarin.Essentials/OrientationSensorData.xml @@ -1,6 +1,6 @@ - - + + Xamarin.Essentials @@ -9,7 +9,16 @@ System.ValueType - + + + System.IEquatable<Xamarin.Essentials.OrientationSensorData> + + + + + System.Runtime.CompilerServices.IsReadOnly + + Sensor data for orientation. @@ -17,6 +26,128 @@ + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Object to compare + If equal to another object + If equal + + + + + + + + + + Method + + M:System.IEquatable`1.Equals(`0) + + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + Other OrientationSensorData to compare with. + Compares the underlying Quaternion instances. + True if they match, otherwise false. + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Int32 + + + + Get the hash code for object. + The hash code + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to compare + Right to compare + Equality operator for equals + If equal + + + + + + + + + + Method + + Xamarin.Essentials + 1.0.0.0 + + + System.Boolean + + + + + + + Left to check + Right to check + Inequality check + If not equal + + + + + diff --git a/docs/en/Xamarin.Essentials/SpeakSettings.xml b/docs/en/Xamarin.Essentials/SpeakSettings.xml index df29156..da954c8 100644 --- a/docs/en/Xamarin.Essentials/SpeakSettings.xml +++ b/docs/en/Xamarin.Essentials/SpeakSettings.xml @@ -32,7 +32,7 @@ - + Property diff --git a/docs/en/Xamarin.Essentials/TextToSpeech.xml b/docs/en/Xamarin.Essentials/TextToSpeech.xml index e8a720a..ded4d39 100644 --- a/docs/en/Xamarin.Essentials/TextToSpeech.xml +++ b/docs/en/Xamarin.Essentials/TextToSpeech.xml @@ -17,7 +17,7 @@ - + Method diff --git a/docs/en/index.xml b/docs/en/index.xml index 12c4f00..0d67310 100644 --- a/docs/en/index.xml +++ b/docs/en/index.xml @@ -103,7 +103,7 @@ - +