ServiceProvider

Since

3.0.0 This class represents the implementation of ServiceProviderInterface.

This class acts as an entry point for all the services exposed by the Mobile SDK. To access a service implementation (for example CallServiceInterface):

CallServiceInterface callService = ServiceProvider.getInstance().getCallService();

Properties

Link copied to clipboard
public RegistrationService registrationService

Functions

Link copied to clipboard
This method creates (if necessary) and returns the singleton AddressBookService instance.
Link copied to clipboard
Not implemented yet !!
Link copied to clipboard
public CallServiceInterface getCallService()
This method creates (if necessary) and returns the singleton CallService instance.
Link copied to clipboard
public ImServiceInterface getIMService()
This method creates (if necessary) and returns the singleton IMService instance.
Link copied to clipboard
public static ServiceProvider getInstance(Context context)
This method creates (if necessary) and returns the singleton ServiceProvider instance which is used to access services provided by the Mobile SDK
Link copied to clipboard
public PresenceServiceInterface getPresenceService()
This method creates (if necessary) and returns the singleton PresenceService instance.
Link copied to clipboard
public PublicRequestServiceInterface getPublicRequestService()
This method returns PublicRequestService.
Link copied to clipboard
This method returns PushService.
Link copied to clipboard
public RegistrationService getRegistrationService()
This method creates (if necessary) and returns the singleton RegistrationService instance.
Link copied to clipboard
public String getVersion()
This method returns actual VersionID of MobileSDK.