sensitivity.io for iOS & macOS
1.1.4
|
#import <SettingsRetriever.h>
Instance Methods | |
(BOOL) | - setSettingsLoader:withError: |
(BOOL) | - retrieveToFileAndNotifyLoaderWithError: |
(NSString *_Nullable) | - retrieveToStringAndNotifyLoaderWithError: |
Instance Methods inherited from HttpRetriever | |
(NSString *_Nullable) | - destinationFileWithError: |
(BOOL) | - setDestinationFile:withError: |
(NSString *_Nullable) | - urlStringWithError: |
(BOOL) | - retrieveToFileWithError: |
(NSString *_Nullable) | - retrieveToStringWithError: |
Properties | |
NSInteger | autoRetrieveInterval |
Additional Inherited Members | |
Class Methods inherited from HttpRetriever | |
(BOOL) | + setHostName:withError: |
(NSString *_Nullable) | + hostNameWithError: |
(BOOL) | + setApiVersion:withError: |
(NSString *_Nullable) | + apiVersionWithError: |
(BOOL) | + setAccountId:withError: |
(NSString *_Nullable) | + accountIdWithError: |
(BOOL) | + setProjectId:withError: |
(NSString *_Nullable) | + projectIdWithError: |
(BOOL) | + setAuthenticationKey:withError: |
(NSString *_Nullable) | + authenticationKeyWithError: |
(BOOL) | + setApplicationId:withError: |
(NSString *_Nullable) | + applicationIdWithError: |
SettingsRetriever class is the specialized retriever which provides the means to download your settings.
- (BOOL) retrieveToFileAndNotifyLoaderWithError: | (NSError *_Nullable *_Nullable) | error |
Retrieves settings to file and notifies settings loader to load it, if any was set.
error | The error representing the reason for the failure |
- (NSString * _Nullable) retrieveToStringAndNotifyLoaderWithError: | (NSError *_Nullable *_Nullable) | error |
Retrieves settings, notifies settings loader to load it, if any was set, and returns the settings string.
error | The error representing the reason for the failure |
- (BOOL) setSettingsLoader: | (SettingsLoader *_Nullable) | settingsLoader | |
withError: | (NSError *_Nullable *_Nullable) | error | |
Sets a settings loader that will be notified to load the downloaded settings when the retrieve¬ify methods will be used.
settingsLoader | The settings loader to set for this retriever |
error | The error representing the reason for failing to set settings loader |
|
readwritenonatomicassign |
autoRetrieveInterval in minutes. Default is -1, meaning auto-retrieve is disabled.