Skip to content

Commit 13d1800

Browse files
committed
Docs edits
1 parent 4c3c895 commit 13d1800

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

src/main/java/com/opentok/OpenTok.java

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -701,21 +701,26 @@ public Sip dial(String sessionId, String token, SipProperties properties) throws
701701
}
702702

703703
/**
704-
* Play DTMF to all clients in a session
704+
* Send DTMF digits to all clients in a session.
705+
*
706+
* @param sessionId The session ID.
707+
* @param dtmfDigits The string of DTMF digits to send. This can include 0-9, "*", "#",
708+
* and "p". A p indicates a pause of 500ms (if you need to add a delay in sending the digits).
705709
*
706-
* @param sessionId
707-
* @param dtmfDigits
708710
* @throws OpenTokException
709711
*/
710712
public void playDTMF(String sessionId, String dtmfDigits) throws OpenTokException {
711713
client.playDtmfAll(sessionId, dtmfDigits);
712714
}
713715

714716
/**
715-
* Play DTMF to a specific client in a session
716-
* @param sessionId
717-
* @param connectionId
718-
* @param dtmfDigits
717+
* Send DTMF digits a specific client in a session.
718+
*
719+
* @param sessionId The session ID.
720+
* @param connectionId The session ID of the client to receive the DTMF digits.
721+
* @param dtmfDigits The string of DTMF digits to send. This can include 0-9, "*", "#",
722+
* and "p". A p indicates a pause of 500ms (if you need to add a delay in sending the digits).
723+
*
719724
* @throws OpenTokException
720725
*/
721726
public void playDTMF(String sessionId, String connectionId, String dtmfDigits) throws OpenTokException {

0 commit comments

Comments
 (0)