blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal

GDServiceProvider.h

Go to the documentation of this file.
00001 /*
00002  * (c) 2017 BlackBerry Limited. All rights reserved.
00003  *
00004  */
00005 
00006 #pragma once
00007 
00008 #import <Foundation/Foundation.h>
00009 
00010 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00011 #import <GD/GDiOS.h>
00012 #else
00013 #import "GDMac.h"
00014 #endif
00015 
00016 #import "GDPortability.h"
00017 #import "GDAppServer.h"
00018 #import "GDServiceDetail.h"
00019 
00020 GD_NS_ASSUME_NONNULL_BEGIN
00021 
00022 @class GDServiceDetail;
00023 
00038 @interface GDServiceProvider : NSObject
00039 
00044 @property (nonatomic, strong) NSString* identifier;
00045 
00050 @property (nonatomic, strong) NSString* version;
00051 
00056 @property (nonatomic, strong) NSString* name;
00057 
00065 @property (GD_NSNULLABLE_PROP nonatomic, strong) NSString* address;
00066 
00073 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00074 @property (GD_NSNULLABLE_PROP nonatomic, strong) UIImage* icon;
00075 #else
00076 @property (GD_NSNULLABLE_PROP nonatomic, strong) NSImage* icon;
00077 #endif
00078 
00092 @property (nonatomic, assign) BOOL iconPending;
00093 
00102 @property (nonatomic, strong) GD_NSArray(GDAppServer *)* serverCluster;
00103 
00109 @property (nonatomic, strong) GD_NSArray(GDServiceDetail *)* services;
00110 @end
00111 
00112 GD_NS_ASSUME_NONNULL_END