| java.lang.Object | |
| ↳ | com.gsma.services.rcs.CommonServiceConfiguration |
This class represents the common configuration of RCS Services
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | CommonServiceConfiguration.MessagingMethod | The messaging method | |||||||||
| enum | CommonServiceConfiguration.MessagingMode | The messaging client mode | |||||||||
| enum | CommonServiceConfiguration.MinimumBatteryLevel | The minimum battery level | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CommonServiceConfiguration.MessagingMethod |
getDefaultMessagingMethod()
Returns the default messaging method which can be AUTOMATIC, RCS or NON_RCS.
| ||||||||||
| CommonServiceConfiguration.MessagingMode |
getMessagingUX()
Returns the messaging client mode which can be INTEGRATED, CONVERGED, SEAMLESS or NONE.
| ||||||||||
| CommonServiceConfiguration.MinimumBatteryLevel |
getMinimumBatteryLevel()
Returns the minimum battery level which can be NEVER_STOP, PERCENT_5, PERCENT_10 or
PERCENT_20.
| ||||||||||
| ContactId |
getMyContactId()
Returns the user contact Identifier (i.e.
| ||||||||||
| String |
getMyDisplayName()
Returns the display name associated to the RCS user account.
| ||||||||||
| boolean |
isConfigValid()
Returns True if RCS configuration is valid.
| ||||||||||
| void |
setDefaultMessagingMethod(CommonServiceConfiguration.MessagingMethod method)
Sets the default messaging method.
| ||||||||||
| void |
setMinimumBatteryLevel(CommonServiceConfiguration.MinimumBatteryLevel level)
Sets the minimum battery level.
| ||||||||||
| void |
setMyDisplayName(String name)
Sets the display name associated to the RCS user account.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns the default messaging method which can be AUTOMATIC, RCS or NON_RCS.
| RcsGenericException |
|---|
Returns the messaging client mode which can be INTEGRATED, CONVERGED, SEAMLESS or NONE.
| RcsGenericException |
|---|
Returns the minimum battery level which can be NEVER_STOP, PERCENT_5, PERCENT_10 or PERCENT_20.
| RcsGenericException |
|---|
Returns the user contact Identifier (i.e. username part of the IMPU).
| RcsGenericException |
|---|
Returns the display name associated to the RCS user account.
The display name may be updated by the end user via the RCS settings application.
| RcsGenericException |
|---|
Returns True if RCS configuration is valid.
| RcsGenericException |
|---|
Sets the default messaging method.
| method | the default messaging method which can be AUTOMATIC, RCS or NON_RCS. |
|---|
| RcsGenericException |
|---|
Sets the minimum battery level.
| level | the minimum battery level which can be NEVER_STOP, PERCENT_5, PERCENT_10 or PERCENT_20. |
|---|
| RcsGenericException |
|---|
Sets the display name associated to the RCS user account.
| name | the new display name |
|---|
| RcsPersistentStorageException | |
| RcsGenericException | |
| RcsPersistentStorageException |