Language

PhoneNumberUtils.ToCallerIDMinMatch(String) Method

Definition

Returns the rightmost minimum matched characters in the network portion in reversed order

[Android.Runtime.Register("toCallerIDMinMatch", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? ToCallerIDMinMatch(string? phoneNumber);
[<Android.Runtime.Register("toCallerIDMinMatch", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
static member ToCallerIDMinMatch : string -> string

Parameters

phoneNumber
String

The phone number for which to form a caller-identification lookup key.

Returns

The configured minimum-match suffix of the network portion in reverse order, or null if the input is null.

Attributes

Remarks

Returns the rightmost minimum matched 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

Java documentation for android.telephony.PhoneNumberUtils.toCallerIDMinMatch(java.lang.String).

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