• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
GDServiceProvider Class Reference

Service provider details. More...

#import <BlackBerryDynamics/GD/GDServiceProvider.h>

Inheritance diagram for GDServiceProvider:

Description

This class is used to return information about a service provider. See getServiceProvidersFor: (GDiOS) . An instance of this class either represents a front-end application, running on a mobile device or computer, or a back-end server.

The information returned for an application could be used to send a service request to the service provider using AppKinetics. See the GDService class reference for details of the programming interface.

The information returned for a server could be used to establish HTTP or TCP socket communications with an instance of the server.

Properties

NSString * identifier
 BlackBerry Dynamics entitlement identifier. More...
 
NSString * version
 BlackBerry Dynamics entitlement version. More...
 
NSString * name
 Display name. More...
 
NSString * address
 Native application identifier, if an application (use for the sendTo application parameter). More...
 
UIImage * icon
 Application icon, if retrieved. More...
 
BOOL iconPending
 Flag for there being an application icon that hasn't yet been retrieved. More...
 
NSArray< GDAppServer * > * serverCluster
 Details of server instances. More...
 
NSArray< GDServiceDetail * > * services
 Details of provided services. More...
 

Property Documentation

◆ identifier

- (NSString*) identifier
readwritenonatomicstrong

BlackBerry Dynamics entitlement identifier of the service provider.

◆ version

- (NSString*) version
readwritenonatomicstrong

BlackBerry Dynamics entitlement version of the service provider.

◆ name

- (NSString*) name
readwritenonatomicstrong

Display name of the service provider.

◆ address

- (NSString*) address
readwritenonatomicstrong

Native application identifier of the service provider, if it is an application. This is the value that would be passed as the application parameter in a call to sendTo (GDServiceClient) .

◆ icon

- (UIImage*) icon
readwritenonatomicstrong

Application icon of the service provider, if it is an application and an icon has been uploaded by the developer, and the icon data has been retrieved. Otherwise, nil. See also the iconPending property, below.

◆ iconPending

- (BOOL) iconPending
readwritenonatomicassign

Flag for whether there is an application icon that hasn't yet been retrieved.

Check this property if the icon property is nil. If this property is YES then there is an icon for the service provider that hasn't yet been retrieved by the BlackBerry Dynamics runtime. A GDAppEvent with type GDAppEventServicesUpdate will be dispatched when the icon has been retrieved.

If the icon property is nil, and this property is NO, it means that there is no application icon.

◆ serverCluster

- (NSArray<GDAppServer *>*) serverCluster
readwritenonatomicstrong

Collection of GDAppServer objects, each representing an instance of a server that provides the service. If there is more than one then the application should use a server selection algorithm, such as that outlined under the Application Server Selection heading in the getApplicationConfig (GDiOS) documentation.

◆ services

- (NSArray<GDServiceDetail *>*) services
readwritenonatomicstrong

Collection of GDServiceDetail objects, each representing a provided shared service.


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