Android.Telephony.PhoneNumberUtils Members

The members of Android.Telephony.PhoneNumberUtils are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
CalledPartyBCDFragmentToString(byte[], int, int) : string
Like calledPartyBCDToString, but field does not start with a TOA byte.
static
CalledPartyBCDToString(byte[], int, int) : string
3GPP TS 24.
static
Compare(string, string) : bool
Compare phone numbers a and b, return true if they're identical enough for caller ID purposes.
static
Compare(Android.Content.Context, string, string) : bool
Compare phone numbers a and b, and return true if they're identical enough for caller ID purposes.
static
ConvertKeypadLettersToDigits(string) : string
Translates any alphabetic letters (i.e.
static
ExtractNetworkPortion(string) : string
Extracts the network address portion and canonicalizes (filters out separators.
static
ExtractPostDialPortion(string) : string
Extracts the post-dial sequence of DTMF control digits, pauses, and waits.
static
FormatJapaneseNumber(Android.Text.IEditable)
Formats a phone number in-place using the Japanese formatting rules.
static
FormatNanpNumber(Android.Text.IEditable)
Formats a phone number in-place using the NANP formatting rules.
static
FormatNumber(string) : string
Breaks the given number down and formats it according to the rules for the country the number is from.
static
FormatNumber(Android.Text.IEditable, PhoneNumberFormat)
Formats a phone number in-place.
static
FormatNumber(string, string) : string
Format a phone number.
static
FormatNumber(string, string, string) : string
Format the phone number only if the given number hasn't been formatted.
static
FormatNumberToE164(string, string) : string
Format the given phoneNumber to the E.164 representation.
static
GetFormatTypeForLocale(Java.Util.Locale) : PhoneNumberFormat
Returns the phone number formatting type for the given locale.
static
GetNumberFromIntent(Android.Content.Intent, Android.Content.Context) : string
Extracts the phone number from an Intent.
static
GetStrippedReversed(string) : string
Returns the network portion reversed.
static
Is12Key(char) : bool
True if c is ISO-LATIN characters 0-9, *, #
static
IsDialable(char) : bool
True if c is ISO-LATIN characters 0-9, *, # , +, WILD
static
IsEmergencyNumber(string) : bool
Checks a given number against the list of emergency numbers provided by the RIL and SIM card.
static
IsGlobalPhoneNumber(string) : bool
static
IsISODigit(char) : bool
True if c is ISO-LATIN characters 0-9
static
IsLocalEmergencyNumber(Android.Content.Context, string) : bool
Checks if a given number is an emergency number for the country that the user is in.
static
IsNonSeparator(char) : bool
True if c is ISO-LATIN characters 0-9, *, # , +, WILD, WAIT, PAUSE
static
IsReallyDialable(char) : bool
True if c is ISO-LATIN characters 0-9, *, # , + (no WILD)
static
IsStartsPostDial(char) : bool
This any anything to the right of this char is part of the post-dial string (eg this is PAUSE or WAIT)
static
IsVoiceMailNumber(string) : bool
isVoiceMailNumber: checks a given number against the voicemail number provided by the RIL and SIM card.
static
IsWellFormedSmsAddress(string) : bool
Return true iff the network portion of address is, as far as we can tell on the device, suitable for use as an SMS destination address.
static
NetworkPortionToCalledPartyBCD(string) : byte[]
Note: calls extractNetworkPortion(), so do not use for SIM EF[ADN] style records Returns null if network portion is empty.
static
NetworkPortionToCalledPartyBCDWithLength(string) : byte[]
Same as PhoneNumberUtils.NetworkPortionToCalledPartyBCD(string), but includes a one-byte length prefix.
static
NormalizeNumber(string) : string
Normalize a phone number by removing the characters other than digits.
static
NumberToCalledPartyBCD(string) : byte[]
Convert a dialing number to BCD byte array
static
ReplaceUnicodeDigits(string) : string
Replaces all unicode(e.g.
static
StringFromStringAndTOA(string, PhoneNumberToa) : string
Basically: makes sure there's a + in front of a TOA_International number Returns null if s == null
static
StringFromStringAndTOA(string, int) : string
Documentation for this section has not yet been entered.
static
StripSeparators(string) : string
Strips separators from a phone number string.
static
ToaFromString(string) : int
Returns the TOA for the given dial string Basically, returns TOA_International if there's a + prefix
static
ToCallerIDMinMatch(string) : string
Returns the rightmost MIN_MATCH (5) characters in the network portion in *reversed* order This can be used to do a database lookup against the column that stores getStrippedReversed() Returns null if phoneNumber == null