• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 10.2.0.83
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 "GDAppServer.h"
17 #import "GDServiceDetail.h"
18 
19 NS_ASSUME_NONNULL_BEGIN
20 
21 @class GDServiceDetail;
22 
37 @interface GDServiceProvider : NSObject
38 
43 @property (nonatomic, strong) NSString* identifier;
44 
49 @property (nonatomic, strong) NSString* version;
50 
55 @property (nonatomic, strong) NSString* name;
56 
64 @property (nullable, nonatomic, strong) NSString* address;
65 
72 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
73 @property (nullable, nonatomic, strong) UIImage* icon;
74 #else
75 @property (nullable, nonatomic, strong) NSImage* icon;
76 #endif
77 
91 @property (nonatomic, assign) BOOL iconPending;
92 
101 @property (nonatomic, strong) NSArray<GDAppServer *>* serverCluster;
102 
108 @property (nonatomic, strong) NSArray<GDServiceDetail *>* services;
109 @end
110 
111 NS_ASSUME_NONNULL_END
GDServiceProvider::name
NSString * name
Display name.
Definition: GDServiceProvider.h:55
GDServiceDetail
Details of a provided service.
Definition: GDServiceDetail.h:26
GDServiceDetail.h
GDServiceProvider::version
NSString * version
BlackBerry Dynamics entitlement version.
Definition: GDServiceProvider.h:49
GDServiceProvider::iconPending
BOOL iconPending
Flag for there being an application icon that hasn't yet been retrieved.
Definition: GDServiceProvider.h:91
GDServiceProvider::services
NSArray< GDServiceDetail * > * services
Details of provided services.
Definition: GDServiceProvider.h:108
GDAppServer.h
GDServiceProvider::address
NSString * address
Native application identifier, if an application (use for the sendTo application parameter).
Definition: GDServiceProvider.h:64
GDServiceProvider::serverCluster
NSArray< GDAppServer * > * serverCluster
Details of server instances.
Definition: GDServiceProvider.h:101
GDServiceProvider::identifier
NSString * identifier
BlackBerry Dynamics entitlement identifier.
Definition: GDServiceProvider.h:43
GDServiceProvider::icon
UIImage * icon
Application icon, if retrieved.
Definition: GDServiceProvider.h:73
GDServiceProvider
Service provider details.
Definition: GDServiceProvider.h:37