public class

MultimediaStreamingSession

extends MultimediaSession
java.lang.Object
   ↳ com.gsma.services.rcs.extension.MultimediaSession
     ↳ com.gsma.services.rcs.extension.MultimediaStreamingSession

Class Overview

This class maintains the information related to a multimedia session for a real time streaming service.

Summary

Public Methods
void abortSession()
Aborts the session
void acceptInvitation()
Accepts session invitation.
RcsService.Direction getDirection()
Returns the direction of the session
MultimediaSession.ReasonCode getReasonCode()
Returns the reason code of the 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 sendPayload(byte[] content)
Sends a payload in real time
[Expand]
Inherited Methods
From class com.gsma.services.rcs.extension.MultimediaSession
From class java.lang.Object

Public Methods

public void abortSession ()

Aborts the session

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public void acceptInvitation ()

Accepts session invitation.

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public RcsService.Direction getDirection ()

Returns the direction of the session

Returns
  • Direction

public MultimediaSession.ReasonCode getReasonCode ()

Returns the reason code of the state of the session

Returns
  • ReasonCode

public ContactId getRemoteContact ()

Returns the remote contact identifier

Returns
  • ContactId

public String getServiceId ()

Returns the service ID

Returns
  • String Service ID

public String getSessionId ()

Returns the session ID of the multimedia session

Returns
  • String Session ID

public MultimediaSession.State getState ()

Returns the state of the session

Returns
  • State

public void rejectInvitation ()

Rejects session invitation

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public void sendPayload (byte[] content)

Sends a payload in real time

Parameters
content Payload content
Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException