src/com/beem/project/beem/service/aidl/IChat.aidl
changeset 55 66732dd2cb77
child 96 e0eabd2266fe
equal deleted inserted replaced
54:dfbb0fbece57 55:66732dd2cb77
       
     1 package com.beem.project.beem.service.aidl;
       
     2 
       
     3 import  com.beem.project.beem.service.Contact;
       
     4 import  com.beem.project.beem.service.Message;
       
     5 
       
     6 /**
       
     7  * An aidl interface for Chat session.
       
     8  */
       
     9 interface IChat {
       
    10     
       
    11     	/**
       
    12     	 * Send a message.
       
    13     	 * @param message	the message to send
       
    14     	 */
       
    15 	void sendMessage(in Message message);
       
    16 	
       
    17 	/**
       
    18 	 * Get the participant of the chat
       
    19 	 * @return the participant
       
    20 	 */
       
    21 	Contact getParticipant();	
       
    22 }