java.lang.Object | |
↳ | com.gsma.services.rcs.RcsService |
Known Direct Subclasses |
Abstract RCS service
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | RcsService.Build | Information about the current build | |||||||||
enum | RcsService.Direction | Direction of the communication for Chat message, Geolocation, Filetransfer, Imageshare, Videoshare etc. | |||||||||
enum | RcsService.ReadStatus | Read status of the message |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACTION_SERVICE_PROVISIONING_DATA_CHANGED | Action to broadcast when RCS service is provisioned. | |||||||||
String | ACTION_SERVICE_UP | Action broadcasted when RCS service is up. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addEventListener(RcsServiceRegistrationListener listener)
Adds a listener on service registration events
| ||||||||||
abstract void |
connect()
Connects to the API
| ||||||||||
abstract void |
disconnect()
Disconnects from the API
| ||||||||||
CommonServiceConfiguration |
getCommonConfiguration()
Returns the configuration that is common for all the service APIs
| ||||||||||
RcsServiceRegistration.ReasonCode |
getServiceRegistrationReasonCode()
Returns the reason code for the service registration
| ||||||||||
int |
getServiceVersion()
Returns service version
| ||||||||||
boolean |
isServiceConnected()
Returns true if the service is connected, else returns false
| ||||||||||
boolean |
isServiceRegistered()
Returns true if the service is registered to the platform, else returns false
| ||||||||||
void |
removeEventListener(RcsServiceRegistrationListener listener)
Removes a listener on service registration events
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Action to broadcast when RCS service is provisioned.
Action broadcasted when RCS service is up.
Adds a listener on service registration events
listener | Service registration listener |
---|
RcsServiceNotAvailableException | |
RcsGenericException | |
RcsServiceNotAvailableException |
Connects to the API
RcsPermissionDeniedException |
---|
Returns the configuration that is common for all the service APIs
RcsServiceNotAvailableException | |
RcsGenericException | |
RcsServiceNotAvailableException |
Returns the reason code for the service registration
RcsServiceNotAvailableException | |
RcsGenericException | |
RcsServiceNotAvailableException |
Returns service version
RcsServiceNotAvailableException | |
RcsGenericException | |
RcsGenericException | |
RcsServiceNotAvailableException |
Returns true if the service is connected, else returns false
Returns true if the service is registered to the platform, else returns false
RcsServiceNotAvailableException | |
RcsGenericException | |
RcsServiceNotAvailableException |
Removes a listener on service registration events
listener | Service registration listener |
---|
RcsServiceNotAvailableException | |
RcsGenericException | |
RcsServiceNotAvailableException |