EmergencyNumber.CompareTo(EmergencyNumber) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compare the display priority for this emergency number and the supplied emergency number.
[Android.Runtime.Register("compareTo", "(Landroid/telephony/emergency/EmergencyNumber;)I", "", ApiSince=29)]
public int CompareTo (Android.Telephony.Emergency.EmergencyNumber emergencyNumber);
[<Android.Runtime.Register("compareTo", "(Landroid/telephony/emergency/EmergencyNumber;)I", "", ApiSince=29)>]
member this.CompareTo : Android.Telephony.Emergency.EmergencyNumber -> int
Parameters
- emergencyNumber
- EmergencyNumber
the supplied emergency number
Returns
a negative value if the supplied emergency number has a lower display priority; a positive value if the supplied emergency number has a higher display priority; 0 if both have equal display priority.
- Attributes
Remarks
Compare the display priority for this emergency number and the supplied emergency number.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.