diff options
author | Uma Maheswari Ramalingam <umam@codeaurora.org> | 2014-12-05 16:39:57 -0800 |
---|---|---|
committer | Pavel Zhamaitsiak <pavelz@google.com> | 2014-12-08 22:59:44 +0000 |
commit | a8af6bb333201b325a58d92a50a8d3fd62e3ef85 (patch) | |
tree | 905f5db7d6726517432eb577f919414aaffe90d7 /telephony/java/com/android/ims | |
parent | 3ba832882566891f643b25f8f89c4341f472b30d (diff) | |
download | frameworks_base-a8af6bb333201b325a58d92a50a8d3fd62e3ef85.zip frameworks_base-a8af6bb333201b325a58d92a50a8d3fd62e3ef85.tar.gz frameworks_base-a8af6bb333201b325a58d92a50a8d3fd62e3ef85.tar.bz2 |
IMS: start and stop dtmf tones.
Support of start and stop dtmf tones in Imsphone
Bug: 18371919
Change-Id: I986f6b8e9aa1a5729d280eb8a5c60e129c3796cd
CRs-Fixed: 751797
Diffstat (limited to 'telephony/java/com/android/ims')
-rw-r--r-- | telephony/java/com/android/ims/internal/IImsCallSession.aidl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsCallSession.aidl b/telephony/java/com/android/ims/internal/IImsCallSession.aidl index d1946e3..b1f2d32 100644 --- a/telephony/java/com/android/ims/internal/IImsCallSession.aidl +++ b/telephony/java/com/android/ims/internal/IImsCallSession.aidl @@ -223,6 +223,20 @@ interface IImsCallSession { void sendDtmf(char c, in Message result); /** + * Start a DTMF code. According to <a href="http://tools.ietf.org/html/rfc2833">RFC 2833</a>, + * event 0 ~ 9 maps to decimal value 0 ~ 9, '*' to 10, '#' to 11, event 'A' ~ 'D' to 12 ~ 15, + * and event flash to 16. Currently, event flash is not supported. + * + * @param c the DTMF to send. '0' ~ '9', 'A' ~ 'D', '*', '#' are valid inputs. + */ + void startDtmf(char c); + + /** + * Stop a DTMF code. + */ + void stopDtmf(); + + /** * Sends an USSD message. * * @param ussdMessage USSD message to send |