Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2 / WebcomApplication / service

service

inline fun <reified R : WebcomService> service(): R

Gets the instance of a given WebcomService associated with this WebcomApplication instance.

Note that each instance of WebcomApplication has exactly one instance of each existing WebcomService.

Parameters

R - Type of the WebcomService to get. Currently, AuthenticationService and DatasyncService are available.