public abstract class

MultimediaSession

extends Object
java.lang.Object
   ↳ com.gsma.services.rcs.extension.MultimediaSession
Known Direct Subclasses

Class Overview

This class maintains the information related to a multimedia session and offers methods to manage it. This is an abstract class between a messaging session and a streaming session.

Summary

Nested Classes
enum MultimediaSession.ReasonCode Multimedia session reason code  
enum MultimediaSession.State Multimedia session state  
Public Methods
abstract void abortSession()
Aborts the session
abstract void acceptInvitation()
Accepts session invitation.
abstract RcsService.Direction getDirection()
Returns the direction of the session
abstract MultimediaSession.ReasonCode getReasonCode()
Returns the reason code of the session.
abstract ContactId getRemoteContact()
Returns the remote contact identifier
abstract String getServiceId()
Returns the service ID
abstract String getSessionId()
Returns the session ID of the multimedia session
abstract MultimediaSession.State getState()
Returns the state of the session
abstract void rejectInvitation()
Rejects session invitation
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public abstract void abortSession ()

Since: API Level 1.5

Aborts the session

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public abstract void acceptInvitation ()

Since: API Level 1.5

Accepts session invitation.

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException

public abstract RcsService.Direction getDirection ()

Since: API Level 1.5

Returns the direction of the session

Returns
  • Direction

public abstract MultimediaSession.ReasonCode getReasonCode ()

Since: API Level 1.5

Returns the reason code of the session.

Returns
  • ReasonCode

public abstract ContactId getRemoteContact ()

Since: API Level 1.5

Returns the remote contact identifier

Returns
  • ContactId

public abstract String getServiceId ()

Since: API Level 1.5

Returns the service ID

Returns
  • String Service ID

public abstract String getSessionId ()

Since: API Level 1.5

Returns the session ID of the multimedia session

Returns
  • String Session ID

public abstract MultimediaSession.State getState ()

Since: API Level 1.5

Returns the state of the session

Returns
  • State

public abstract void rejectInvitation ()

Since: API Level 1.5

Rejects session invitation

Throws
RcsPermissionDeniedException
RcsGenericException
RcsPermissionDeniedException