| java.lang.Object | |
| ↳ | com.gsma.services.rcs.sharing.image.ImageSharing |
Image sharing
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | ImageSharing.ReasonCode | Reason code associated with the image share state. | |||||||||
| enum | ImageSharing.State | Image sharing state | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
abortSharing()
Aborts the sharing
| ||||||||||
| void |
acceptInvitation()
Accepts image sharing invitation
| ||||||||||
| RcsService.Direction |
getDirection()
Returns the direction of the sharing
| ||||||||||
| Uri |
getFile()
Returns the URI of the file to be shared
| ||||||||||
| String |
getFileName()
Returns the complete filename including the path of the file to be transferred
| ||||||||||
| long |
getFileSize()
Returns the size of the file to be transferred
| ||||||||||
| String |
getMimeType()
Returns the MIME type of the file to be transferred
| ||||||||||
| ImageSharing.ReasonCode |
getReasonCode()
Returns the reason code of the state of the sharing
| ||||||||||
| ContactId |
getRemoteContact()
Returns the remote contact identifier
| ||||||||||
| String |
getSharingId()
Returns the sharing ID of the image sharing
| ||||||||||
| ImageSharing.State |
getState()
Returns the state of the sharing
| ||||||||||
| long |
getTimestamp()
Returns the local timestamp of when the image sharing was initiated for outgoing image
sharing or the local timestamp of when the image sharing invitation was received for incoming
image sharings.
| ||||||||||
| void |
rejectInvitation()
Rejects image sharing invitation
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Aborts the sharing
| RcsPermissionDeniedException | |
| RcsGenericException | |
| RcsPermissionDeniedException |
Returns the direction of the sharing
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the URI of the file to be shared
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the complete filename including the path of the file to be transferred
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the size of the file to be transferred
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the MIME type of the file to be transferred
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the reason code of the state of the sharing
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the remote contact identifier
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the state of the sharing
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsGenericException | |
| RcsPersistentStorageException |
Returns the local timestamp of when the image sharing was initiated for outgoing image sharing or the local timestamp of when the image sharing invitation was received for incoming image sharings.
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |