java.lang.Object | |
↳ | com.gsma.services.rcs.filetransfer.FileTransferServiceConfiguration |
File transfer service configuration
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | FileTransferServiceConfiguration.ImageResizeOption | Enumerated for the Image Resize Option |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FileTransferServiceConfiguration.ImageResizeOption |
getImageResizeOption()
Returns the image resize option for file transfer in the range: ALWAYS_PERFORM,
ONLY_ABOVE_MAX_SIZE, ASK
| ||||||||||
long |
getMaxAudioMessageDuration()
Returns the maximum audio message duration.
| ||||||||||
int |
getMaxFileTransfers()
Returns the max number of simultaneous file transfers
| ||||||||||
long |
getMaxSize()
Returns the file transfer size limit.
| ||||||||||
long |
getWarnSize()
Returns the file transfer size threshold when the user should be warned about the potential
charges associated to the transfer of a large file.
| ||||||||||
boolean |
isAutoAcceptEnabled()
Is file transfer invitation automatically accepted
| ||||||||||
boolean |
isAutoAcceptInRoamingEnabled()
Is file transfer invitation automatically accepted while in roaming.
| ||||||||||
boolean |
isAutoAcceptModeChangeable()
is default Auto Accept mode (both in normal or roaming modes) changeable
| ||||||||||
boolean |
isGroupFileTransferSupported()
Returns True if group file transfer is supported, else returns False.
| ||||||||||
void |
setAutoAccept(boolean enable)
Sets the Auto Accept Mode of a File Transfer configuration.
| ||||||||||
void |
setAutoAcceptInRoaming(boolean enable)
Sets the Auto Accept Mode of a File Transfer configuration while roaming.
| ||||||||||
void |
setImageResizeOption(FileTransferServiceConfiguration.ImageResizeOption option)
Sets the image resize option for file transfer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the image resize option for file transfer in the range: ALWAYS_PERFORM, ONLY_ABOVE_MAX_SIZE, ASK
RcsGenericException |
---|
Returns the maximum audio message duration.
RcsGenericException |
---|
Returns the max number of simultaneous file transfers
RcsGenericException |
---|
Returns the file transfer size limit. It returns 0 if there is no limitation.
RcsGenericException |
---|
Returns the file transfer size threshold when the user should be warned about the potential charges associated to the transfer of a large file. It returns 0 if there no need to warn.
RcsGenericException |
---|
Is file transfer invitation automatically accepted
RcsGenericException |
---|
Is file transfer invitation automatically accepted while in roaming.
This parameter is only applicable if auto accept is active for File Transfer in normal conditions (see isAutoAcceptEnabled).
RcsGenericException |
---|
is default Auto Accept mode (both in normal or roaming modes) changeable
RcsGenericException |
---|
Returns True if group file transfer is supported, else returns False.
RcsGenericException |
---|
Sets the Auto Accept Mode of a File Transfer configuration.
The Auto Accept Mode can only be modified by client application if isAutoAcceptChangeable is
true.
enable | True if file transfer is auto accepted |
---|
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Sets the Auto Accept Mode of a File Transfer configuration while roaming.
The AutoAcceptInRoaming can only be modified by client application if
isAutoAcceptModeChangeable is true and if the AutoAccept Mode in normal conditions is true.
enable | True if file transfer is auto accepted in roaming |
---|
RcsPermissionDeniedException | |
RcsPersistentStorageException | |
RcsGenericException | |
RcsPermissionDeniedException | |
RcsPersistentStorageException |
Sets the image resize option for file transfer.
option | the image resize option for file transfer. |
---|
RcsGenericException |
---|