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 ()

Since: API Level 1.5

Aborts the session

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public void acceptInvitation ()

Since: API Level 1.5

Accepts session invitation.

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public RcsService.Direction getDirection ()

Since: API Level 1.5

Returns the direction of the session

Returns
  • Direction

public MultimediaSession.ReasonCode getReasonCode ()

Since: API Level 1.5

Returns the reason code of the state of the session

Returns
  • ReasonCode

public ContactId getRemoteContact ()

Since: API Level 1.5

Returns the remote contact identifier

Returns
  • ContactId

public String getServiceId ()

Since: API Level 1.5

Returns the service ID

Returns
  • String Service ID

public String getSessionId ()

Since: API Level 1.5

Returns the session ID of the multimedia session

Returns
  • String Session ID

public MultimediaSession.State getState ()

Since: API Level 1.5

Returns the state of the session

Returns
  • State

public void rejectInvitation ()

Since: API Level 1.5

Rejects session invitation

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public void sendPayload (byte[] content)

Since: API Level 1.5

Sends a payload in real time

Parameters
content Payload content
Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException