SMPAppSettings class

Syntax

@interface SMPAppSettings : NSObject

Members

All members of SMPAppSettings, including inherited members.

Methods
Method Description
- (NSString *) getApplicationEndpointWithError: (NSError **) error Retrieves the application end-point with which the application can access business data.
- (NSString *) getConfigProperty: (NSString *) configKey error: (NSError **) error Retrieves the Configuration Property by providing key.
- (NSDictionary *) getConfigPropertyMapWithError: (NSError **) error Returns all the settings in Key-Value pair.
- (NSData *) getCustomizationResourceBundleWithCustomizationResource: (NSString *) customizationResource error: (NSError **) error Returns or downloads Customization Resources as binary data.
- (DataVaultPasswordPolicy *) getPasswordPolicy: (NSError **) error Retrieves the password policy set by the administrator in SCC for the application.
- (NSString *) getPushEndpointWithError: (NSError **) error Retrieves the push end-point which the enterprise back-end can use to push data to the ODP client via the server.
+ (SMPAppSettings *) initializeWithConnection: (SMPClientConnection *) clientConn userName: (NSString *) userName password: (NSString *) password Gets the singleton instance/object of the AppSettings class.
- (void) releaseStoredCredentialsWithError: (NSError **) error Releases the username and password provided while initializing app settings class.
- (BOOL) setConfigProperty: (NSDictionary *) settingsList error: (NSError **) error Updates the config property by providing list of settings as a NSDictionary Object.

Usage

Consists of methods used to retrieve setting details required by the application. This class implements instance methods to fetch settings like end-points for application data access, push endpoint, customizationbundleID and password policy .