Class PathConfiguration

  • All Implemented Interfaces:

    
    public final class PathConfiguration
    
                        

    Provides the ability to load, parse, and retrieve url path properties from the app's JSON configuration file.

    • Constructor Detail

    • Method Detail

      • getLoadState

         final StateFlow<PathConfigurationLoadState> getLoadState()

        A StateFlow that emits the current state of the path configuration loading process. Observe this to know when the configuration has been loaded and from which source (bundled asset, cached remote, or fresh remote).

      • getSettings

         final HashMap<String, Object> getSettings()

        Gets the top-level settings specified in the app's path configuration. The settings are map of key/value String items.

      • properties

         final HashMap<String, Object> properties(String location)

        Retrieve the path properties based on the cascading rules in your path configuration.

        Parameters:
        location - The absolute url to match against the configuration's rules.
        Returns:

        The map of key/value String properties