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 Detail

      • observeChatSettings

        void observeChatSettings(ObservationScope observationScope,
                                 <any> observer)
        Registers an observer to be notified when chat settings changes.
        Parameters:
        observationScope - the lifespan of the observation
        observer - the observer to be notified
      • getChatSettings

        ChatSettings getChatSettings()
        Gets the currently cached ChatSettings.