src/com/beem/project/beem/service/aidl/IChat.aidl
changeset 1037 025c482d5530
parent 984 46b16746d8a2
equal deleted inserted replaced
1036:a1f3a20c87f8 1037:025c482d5530
    54 
    54 
    55     	/**
    55     	/**
    56     	 * Send a message.
    56     	 * Send a message.
    57     	 * @param message	the message to send
    57     	 * @param message	the message to send
    58     	 */
    58     	 */
    59 	void sendMessage(in Message message);
    59 	void sendMessage(in com.beem.project.beem.service.Message message);
    60 
    60 
    61 	/**
    61 	/**
    62 	 * Get the participant of the chat
    62 	 * Get the participant of the chat
    63 	 * @return the participant
    63 	 * @return the participant
    64 	 */
    64 	 */
    84 
    84 
    85 	int getUnreadMessageCount();
    85 	int getUnreadMessageCount();
    86 
    86 
    87 	void setState(in String state);
    87 	void setState(in String state);
    88 
    88 
    89 	List<Message> getMessages();
    89 	List<com.beem.project.beem.service.Message> getMessages();
    90 
    90 
    91 	/**
    91 	/**
    92 	 * Try to start an OTR session.
    92 	 * Try to start an OTR session.
    93 	 */
    93 	 */
    94 	void startOtrSession();
    94 	void startOtrSession();