mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Updated chatroom tutorial
This commit is contained in:
parent
3a9e33feb0
commit
423375fe67
1 changed files with 2 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ public class TutorialChatRoom implements LinphoneCoreListener {
|
|||
public void dtmfReceived(LinphoneCore lc, LinphoneCall call, int dtmf) {}
|
||||
|
||||
public void textReceived(LinphoneCore lc, LinphoneChatRoom cr,LinphoneAddress from, String message) {
|
||||
write("Message ["+message+"] received from ["+from.asString()+"]");
|
||||
//Deprecated
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -153,8 +153,7 @@ public class TutorialChatRoom implements LinphoneCoreListener {
|
|||
@Override
|
||||
public void messageReceived(LinphoneCore lc, LinphoneChatRoom cr,
|
||||
LinphoneChatMessage message) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
write("Message [" + message.getMessage() + "] received from [" + message.getFrom().asString() + "]");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue