EmergencyNumber.IsInEmergencyServiceCategories 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.
Checks if the emergency number is in the supplied emergency service category(s).
[Android.Runtime.Register("isInEmergencyServiceCategories", "(I)Z", "", ApiSince=29)]
public bool IsInEmergencyServiceCategories (Android.Telephony.Emergency.EmergencyServiceCategory categories);
[<Android.Runtime.Register("isInEmergencyServiceCategories", "(I)Z", "", ApiSince=29)>]
member this.IsInEmergencyServiceCategories : Android.Telephony.Emergency.EmergencyServiceCategory -> bool
Parameters
- categories
- EmergencyServiceCategory
- the supplied emergency service categories
Returns
true
if the emergency number is in the specified emergency service
category(s) or if its emergency service category is
#EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED
; false
otherwise.
- Attributes
Remarks
Checks if the emergency number is in the supplied emergency service category(s).
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.