sensitivity.io for iOS & macOS  1.1.4
Instance Methods | Class Methods | List of all members
ApplicationIdRetriever Class Reference

#import <ApplicationIdRetriever.h>

Inheritance diagram for ApplicationIdRetriever:
HttpRetriever

Instance Methods

(BOOL) - retrieveApplicationIdWithError:
 
- Instance Methods inherited from HttpRetriever
(NSString *_Nullable) - destinationFileWithError:
 
(BOOL) - setDestinationFile:withError:
 
(NSString *_Nullable) - urlStringWithError:
 
(BOOL) - retrieveToFileWithError:
 
(NSString *_Nullable) - retrieveToStringWithError:
 

Class Methods

(instancetype _Nullable) + sharedInstanceWithError:
 
- 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:
 

Detailed Description

ApplicationIdRetriever class is the specialized retriever you need to use in order to get your application ID based on your account ID, project ID and authentication key.

Method Documentation

◆ retrieveApplicationIdWithError:()

- (BOOL) retrieveApplicationIdWithError: (NSError *_Nullable *_Nullable)  error

Retrieves the appliaction ID.

Precondition
account ID, project ID and authentication key are set.
Remarks
Relevant errors: ENETUNREACH, EPROTO
Parameters
errorThe error representing the reason for the failure
Returns
True on success, false in case an error occured

◆ sharedInstanceWithError:()

+ (instancetype _Nullable) sharedInstanceWithError: (NSError *_Nullable *_Nullable)  error

Returns the singleton object of this class

Parameters
errorThe error representing the reason for the failure
Returns
The singleton object of this class

The documentation for this class was generated from the following file: