Sdílet prostřednictvím


RemoteConnection.PostDialContinue(Boolean) Method

Definition

Instructs this RemoteConnection to continue playing a post-dial DTMF string.

[Android.Runtime.Register("postDialContinue", "(Z)V", "", ApiSince=23)]
public void PostDialContinue (bool proceed);
[<Android.Runtime.Register("postDialContinue", "(Z)V", "", ApiSince=23)>]
member this.PostDialContinue : bool -> unit

Parameters

proceed
Boolean

Whether or not to continue with the post-dial sequence.

Attributes

Remarks

Instructs this RemoteConnection to continue playing a post-dial DTMF string.

A post-dial DTMF string is a string of digits following the first instance of either TelecomManager#DTMF_CHARACTER_WAIT or TelecomManager#DTMF_CHARACTER_PAUSE. These digits are immediately sent as DTMF tones to the recipient as soon as the connection is made.

If the DTMF string contains a TelecomManager#DTMF_CHARACTER_PAUSE symbol, this RemoteConnection will temporarily pause playing the tones for a pre-defined period of time.

If the DTMF string contains a TelecomManager#DTMF_CHARACTER_WAIT symbol, this RemoteConnection will pause playing the tones and notify callbacks via Callback#onPostDialWait(RemoteConnection, String). At this point, the in-call app should display to the user an indication of this state and an affordance to continue the postdial sequence. When the user decides to continue the postdial sequence, the in-call app should invoke the #postDialContinue(boolean) method.

Java documentation for android.telecom.RemoteConnection.postDialContinue(boolean).

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