Language

PhoneNumberUtils.ExtractPostDialPortion(String) Method

Definition

Extracts the post-dial sequence of DTMF control digits, pauses, and waits.

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

Parameters

phoneNumber
String

The phone-number text from which to extract the post-dial sequence.

Returns

The post-dial sequence with separators removed, or an empty string if no post-dial sequence exists; null if the input is null.

Attributes

Remarks

Extracts the post-dial sequence of DTMF control digits, pauses, and waits. Strips separators. This string may be empty, but will not be null unless phoneNumber == null.

Returns null if phoneNumber == null

Java documentation for android.telephony.PhoneNumberUtils.extractPostDialPortion(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