Udostępnij za pośrednictwem


EmergencyNumber.IsFromSources(EmergencyNumberSource) Method

Definition

Checks if the emergency number is from the specified emergency number source(s).

[Android.Runtime.Register("isFromSources", "(I)Z", "", ApiSince=29)]
public bool IsFromSources (Android.Telephony.Emergency.EmergencyNumberSource sources);
[<Android.Runtime.Register("isFromSources", "(I)Z", "", ApiSince=29)>]
member this.IsFromSources : Android.Telephony.Emergency.EmergencyNumberSource -> bool

Parameters

sources
EmergencyNumberSource
  • the supplied emergency number sources

Returns

true if the emergency number is from the specified emergency number source(s); false otherwise.

Attributes

Remarks

Checks if the emergency number is from the specified emergency number source(s).

Java documentation for android.telephony.emergency.EmergencyNumber.isFromSources(int).

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.

Applies to