| java.lang.Object | ||
| ↳ | com.gsma.services.rcs.extension.MultimediaSession | |
| ↳ | com.gsma.services.rcs.extension.MultimediaMessagingSession | |
This class maintains the information related to a multimedia session for a real time messaging service.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | abortSession() Aborts the session | ||||||||||
| void | acceptInvitation() Accepts session invitation. | ||||||||||
| void | flushMessages() Flush all messages of the session | ||||||||||
| RcsService.Direction | getDirection() Returns the direction of the session | ||||||||||
| MultimediaSession.ReasonCode | getReasonCode() Returns the reason code state of the session | ||||||||||
| ContactId | getRemoteContact() Returns the remote contact identifier | ||||||||||
| String | getServiceId() Returns the service ID | ||||||||||
| String | getSessionId() Returns the session ID of the multimedia session | ||||||||||
| MultimediaSession.State | getState() Returns the state of the session | ||||||||||
| void | rejectInvitation() Rejects session invitation | ||||||||||
| void | sendMessage(byte[] content, String contentType) Sends a message in real time | ||||||||||
| void | sendMessage(byte[] content) 
      
  This method is deprecated.
      Use  sendMessage(byte[], String)instead. | ||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  com.gsma.services.rcs.extension.MultimediaSession | |||||||||||
|  From class
  java.lang.Object | |||||||||||
Aborts the session
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException | 
Accepts session invitation.
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException | 
Flush all messages of the session
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException | 
Returns the session ID of the multimedia session
| RcsGenericException | 
|---|
Rejects session invitation
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException | 
Sends a message in real time
| content | Message content | 
|---|---|
| contentType | Message content type | 
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException | 
      
  This method is deprecated.
 Use sendMessage(byte[], String) instead.
  
Sends a message in real time
| content | Message content | 
|---|
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException |