• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
GDServiceProvider.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 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 
40 @interface GDServiceProvider : NSObject
41 
46 @property (nonatomic, strong) NSString* identifier;
47 
52 @property (nonatomic, strong) NSString* version;
53 
58 @property (nonatomic, strong) NSString* name;
59 
67 @property (nullable, nonatomic, strong) NSString* address;
68 
75 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
76 @property (nullable, nonatomic, strong) UIImage* icon;
77 #else
78 @property (nullable, nonatomic, strong) NSImage* icon;
79 #endif
80 
94 @property (nonatomic, assign) BOOL iconPending;
95 
104 @property (nonatomic, strong) NSArray<GDAppServer *>* serverCluster;
105 
111 @property (nonatomic, strong) NSArray<GDServiceDetail *>* services;
112 @end
113 
114 NS_ASSUME_NONNULL_END
GDServiceProvider::name
NSString * name
Display name.
Definition: GDServiceProvider.h:58
GDServiceDetail
Details of a provided service.
Definition: GDServiceDetail.h:28
GDServiceDetail.h
GDServiceProvider::version
NSString * version
BlackBerry Dynamics entitlement version.
Definition: GDServiceProvider.h:52
GDServiceProvider::iconPending
BOOL iconPending
Flag for there being an application icon that hasn't yet been retrieved.
Definition: GDServiceProvider.h:94
GDServiceProvider::services
NSArray< GDServiceDetail * > * services
Details of provided services.
Definition: GDServiceProvider.h:111
GDAppServer.h
GDServiceProvider::address
NSString * address
Native application identifier, if an application (use for the sendTo application parameter).
Definition: GDServiceProvider.h:67
GDServiceProvider::serverCluster
NSArray< GDAppServer * > * serverCluster
Details of server instances.
Definition: GDServiceProvider.h:104
GDServiceProvider::identifier
NSString * identifier
BlackBerry Dynamics entitlement identifier.
Definition: GDServiceProvider.h:46
GDServiceProvider::icon
UIImage * icon
Application icon, if retrieved.
Definition: GDServiceProvider.h:76
GDServiceProvider
Service provider details.
Definition: GDServiceProvider.h:40