• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 7.1.0.193
GDServiceProvider.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  *
4  */
5 
6 #pragma once
7 
8 #import <Foundation/Foundation.h>
9 
10 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
11 #import <GD/GDiOS.h>
12 #else
13 #import "GDMac.h"
14 #endif
15 
16 #import "GDPortability.h"
17 #import "GDAppServer.h"
18 #import "GDServiceDetail.h"
19 
21 
22 @class GDServiceDetail;
23 
38 @interface GDServiceProvider : NSObject
39 
44 @property (nonatomic, strong) NSString* identifier;
45 
50 @property (nonatomic, strong) NSString* version;
51 
56 @property (nonatomic, strong) NSString* name;
57 
65 @property (GD_NSNULLABLE_PROP nonatomic, strong) NSString* address;
66 
73 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
74 @property (GD_NSNULLABLE_PROP nonatomic, strong) UIImage* icon;
75 #else
76 @property (GD_NSNULLABLE_PROP nonatomic, strong) NSImage* icon;
77 #endif
78 
92 @property (nonatomic, assign) BOOL iconPending;
93 
102 @property (nonatomic, strong) GD_NSArray(GDAppServer *)* serverCluster;
103 
109 @property (nonatomic, strong) GD_NSArray(GDServiceDetail *)* services;
110 @end
111 
GD_NSNULLABLE_PROP
#define GD_NSNULLABLE_PROP
Definition: GDPortability.h:70
GDServiceProvider::name
NSString * name
Display name.
Definition: GDServiceProvider.h:56
GDServiceDetail
Details of a provided service.
Definition: GDServiceDetail.h:27
GDServiceDetail.h
GDServiceProvider::version
NSString * version
BlackBerry Dynamics entitlement version.
Definition: GDServiceProvider.h:50
GDServiceProvider::services
NSArray * services
Details of provided services.
Definition: GDServiceProvider.h:109
GDServiceProvider::iconPending
BOOL iconPending
Flag for there being an application icon that hasn't yet been retrieved.
Definition: GDServiceProvider.h:92
GDAppServer.h
GDServiceProvider::address
NSString * address
Native application identifier, if an application (use for the sendTo application parameter).
Definition: GDServiceProvider.h:65
GDServiceProvider::serverCluster
NSArray * serverCluster
Details of server instances.
Definition: GDServiceProvider.h:102
GDServiceProvider::identifier
NSString * identifier
BlackBerry Dynamics entitlement identifier.
Definition: GDServiceProvider.h:44
GD_NS_ASSUME_NONNULL_END
#define GD_NS_ASSUME_NONNULL_END
Definition: GDPortability.h:89
GDAppServer
Application server configuration.
Definition: GDAppServer.h:17
GD_NSArray
#define GD_NSArray(ObjectType)
Definition: GDPortability.h:112
GDServiceProvider::icon
UIImage * icon
Application icon, if retrieved.
Definition: GDServiceProvider.h:74
GDServiceProvider
Service provider details.
Definition: GDServiceProvider.h:38
GD_NS_ASSUME_NONNULL_BEGIN
#define GD_NS_ASSUME_NONNULL_BEGIN
Definition: GDPortability.h:88
GDPortability.h