AgentSDKAppCatalogRequest
IntroductionThis class is used to issue requests. WARNING: Multiple simultaneous requests should not be issued from the same request object - if this is needed, instantiate new instances. MethodsinitWithDelegate:- (id)initWithDelegate:(id<AgentSDKAppCatalogRequestProtocol>)delegate; ParametersDiscussionInitializes a AgentSDKAppCatalogueRequest object while setting a delegate which adheres to the AgentSDKAppCatalogueRequestProtocol.
requestApp:- (void)requestApp:(AgentSDKAppCatalogApplication*)app; ParametersDiscussionFetches data for a single app from server asynchronously and calls the delegate's appResult method when complete. Used to refresh or poll existing app for updates. Also used to fetch all fields (e.g. "Desc") of the AgentSDKAppCatalogApplication.
requestAppCatalog- (NSInteger)requestAppCatalog; Return ValueA Integer denoting whether or not the request was carries out. A return of 0 indicates no catalogue link was found. A return of 1 indicates the request is being carried out. DiscussionFetches the entire application catalog from server asynchronously and calls the delegate's appCatalogResult method when complete.
requestAppConfigurationURI:- (void)requestAppConfigurationURI:(AgentSDKAppCatalogApplication*)app; ParametersDiscussionIf configured in the App Catalog entry for the specific App, call this to request a URI that can launch the downloaded app with configuration parameters.
requestAppInstall:- (void)requestAppInstall:(AgentSDKAppCatalogApplication*)app; ParametersDiscussionThis issues a request to server to install consumer or enterprise app from app catalog.
|