isPhoneInEmergencyState

open fun isPhoneInEmergencyState(@NonNull context: Context, @NonNull phoneItem: String): Boolean

Check if the phoneItem is in emergency alert state

Return

true if the specified phoneItem is in emergency alert state

Parameters

context

Contextthe application context

phoneItem

String : phone number to check his state