AgentSDKAppCatalogRequest

Superclass:
NSObject
Declared In:

Introduction

This 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.



Methods

-initWithDelegate:
-requestApp:
-requestAppCatalog
-requestAppConfigurationURI:
-requestAppInstall:

initWithDelegate:


- (id)initWithDelegate:(id<AgentSDKAppCatalogRequestProtocol>)delegate; 
Parameters
delegate

An object which adheres to the AgentSDKAppCatalogueRequestProtocol.

Discussion

Initializes a AgentSDKAppCatalogueRequest object while setting a delegate which adheres to the AgentSDKAppCatalogueRequestProtocol.

Availability
v11

requestApp:


Parameters
app

Contains the data for a single app.

Discussion

Fetches 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.

Availability
v11

requestAppCatalog


- (NSInteger)requestAppCatalog; 
Return Value

A 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.

Discussion

Fetches the entire application catalog from server asynchronously and calls the delegate's appCatalogResult method when complete.

Availability
v11

requestAppConfigurationURI:


Parameters
app

The app to be launched.

Discussion

If 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.

Availability
v11

requestAppInstall:


Parameters
app

The app to be installed.

Discussion

This issues a request to server to install consumer or enterprise app from app catalog.

Availability
v11