- Timestamp:
- Nov 27, 2013 9:37:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/include/pjsua2/siptypes.hpp
r4655 r4657 589 589 */ 590 590 void toPj(pjsua_msg_data &msg_data) const; 591 }; 592 593 594 /** 595 * This structure contains parameters for sending instance message methods, 596 * e.g: Buddy::sendInstantMessage(), Call:sendInstantMessage(). 597 */ 598 struct SendInstantMessageParam 599 { 600 /** 601 * MIME type. Default is "text/plain". 602 */ 603 string contentType; 604 605 /** 606 * The message content. 607 */ 608 string content; 609 610 /** 611 * List of headers etc to be included in outgoing request. 612 */ 613 SipTxOption txOption; 614 615 /** 616 * User data, which will be given back when the IM callback is called. 617 */ 618 Token userData; 619 }; 620 621 622 /** 623 * This structure contains parameters for sending typing indication methods, 624 * e.g: Buddy::sendTypingIndication(), Call:sendTypingIndication(). 625 */ 626 struct SendTypingIndicationParam 627 { 628 /** 629 * True to indicate to remote that local person is currently typing an IM. 630 */ 631 bool isTyping; 632 633 /** 634 * List of headers etc to be included in outgoing request. 635 */ 636 SipTxOption txOption; 591 637 }; 592 638
Note: See TracChangeset
for help on using the changeset viewer.