Package zendesk.chat
Interface SettingsProvider
-
public interface SettingsProvider
A provider to access server-driven settings for Zendesk Chat.You can access it as follows:
SettingsProvider settingsProvider = Chat.INSTANCE.providers().settingsProvider();
Make sure to initialize Zendesk Chat SDK first before accessing the providers, see
Chat.init(Context, String)
for more details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ChatSettings
getChatSettings()
Gets the currently cachedChatSettings
.void
observeChatSettings(ObservationScope observationScope, <any> observer)
Registers an observer to be notified when chat settings changes.
-
-
-
Method Detail
-
observeChatSettings
void observeChatSettings(ObservationScope observationScope, <any> observer)
Registers an observer to be notified when chat settings changes.- Parameters:
observationScope
- the lifespan of the observationobserver
- the observer to be notified
-
getChatSettings
ChatSettings getChatSettings()
Gets the currently cachedChatSettings
.
-
-