Class VideoSharing: This class maintains the information related to a video sharing and offers methods to manage the sharing. public class Encoding { static String H264 = “H264”; } Enum: the VideoSharing state. enum { INVITED(0), INITIATING(1), STARTED(2), ABORTED(3), FAILED(4), REJECTED(5), RINGING(6), ACCEPTING(7) } Enum: the reason code for the sharing. enum ReasonCode { UNSPECIFIED(0), ABORTED_BY_USER(1), ABORTED_BY_REMOTE(2), ABORTED_BY_SYSTEM(3), REJECTED_BY_SECONDARY_DEVICE(4) , REJECTED_SPAM(5), REJECTED_MAX_SHARING_SESSIONS(6), REJECTED_BY_USER(7) REJECTED_BY_REMOTE(8), REJECTED_BY_TIMEOUT(9), REJECTED_BY_SYSTEM(10), FAILED_INITIATION(11), FAILED_SHARING(12) } Method: returns the sharing ID of the video sharing. String getSharingId() Method: returns the remote contact. ContactId getRemoteContact() Method: get the remote descriptor in case the video share direction is incoming, the local video descriptor in use in case of outgoing direction. VideoDescriptor getVideoDescriptor() Method: returns the of the video share. getState() Method: returns the reason code of the video sharing. ReasonCode getReasonCode() Method: returns the direction of the sharing: com.gsma.services.rcs.RcsService.Direction getDirection() Method: accepts video share invitation with a given renderer. It’s for the external codec. void acceptInvitation(VideoPlayer player) Method: rejects video share invitation. void rejectInvitation() Method: aborts the sharing.
Class VideoSharing: This class maintains the information related to a video sharing and offers methods to manage the sharing. public class Encoding { static String H264 = “H264”; } Enum: the VideoSharing state. enum { INVITED(0), INITIATING(1), STARTED(2), ABORTED(3), FAILED(4), REJECTED(5), RINGING(6), ACCEPTING(7) } Enum: the reason code for the sharing. enum ReasonCode { UNSPECIFIED(0), ABORTED_BY_USER(1), ABORTED_BY_REMOTE(2), ABORTED_BY_SYSTEM(3), REJECTED_BY_SECONDARY_DEVICE(4) , REJECTED_SPAM(5), REJECTED_MAX_SHARING_SESSIONS(6), REJECTED_BY_USER(7) REJECTED_BY_REMOTE(8), REJECTED_BY_TIMEOUT(9), REJECTED_BY_SYSTEM(10), FAILED_INITIATION(11), FAILED_SHARING(12) } Method: returns the sharing ID of the video sharing. String getSharingId() Method: returns the remote contact. ContactId getRemoteContact() Method: get the remote descriptor in case the video share direction is incoming, the local video descriptor in use in case of outgoing direction. VideoDescriptor getVideoDescriptor() Method: returns the of the video share. getState() Method: returns the reason code of the video sharing. ReasonCode getReasonCode() Method: returns the direction of the sharing: com.gsma.services.rcs.RcsService.Direction getDirection() Method: accepts video share invitation with a given renderer. It’s for the external codec. void acceptInvitation(VideoPlayer player) Method: rejects video share invitation. void rejectInvitation() Method: aborts the sharing.
RCC.53_CR1005_1.6.1.docx