Class CustomSettingsService

  • All Implemented Interfaces:

    
    public final class CustomSettingsService<R extends CustomSettingsEntity>
    extends MobileService
                        

    Represents the service to deal with custom setting exchanges, loading/storing/updating/deleting custom settings. All operations will need an instance of CustomSettingsEntity.

    For all the operations, 'keyPath' will be needed for each CustomSettingsEntity, which is the 'configurationName' of each CustomSettingsEntity.

    For 'load' and 'auto load' operations, besides 'keyPath', a 'parser' is also needed to convert a JSON string to typed custom settings. The parser will be passed in the parameter of parse.

    If 'auto' retrieve custom setting feature is not needed, keyPath, parse and autoCustomSettingsLoadListener can be omitted.