Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c47b18fb authored by Libin.Tang@motorola.com's avatar Libin.Tang@motorola.com Committed by Etan Cohen
Browse files

IMS: modify sendDtmf interface.

Bug: 17282921
Change-Id: If96f209e91db420e089d429bb5c7a0f9882b4057
parent 1dc0f364
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.ims.internal;

import android.os.Message;
import com.android.ims.ImsCallProfile;
import com.android.ims.ImsStreamMediaProfile;
import com.android.ims.internal.IImsCallSessionListener;
@@ -206,10 +207,10 @@ interface IImsCallSession {
     * 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 code the DTMF to send. Value 0 to 15 (inclusive) are valid inputs.
     * @param duration the interval in milli-seconds between the DTMFs
     * @param c the DTMF to send. '0' ~ '9', 'A' ~ 'D', '*', '#' are valid inputs.
     * @param result.
     */
    void sendDtmf(int code, int duration);
    void sendDtmf(char c, in Message result);

    /**
     * Sends an USSD message.