blackberry.com
BlackBerry Dynamics
Runtime library for macOS 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 #import "GDPortability.h"
00010 #import "GDAppServer.h"
00011 #import "GDServiceDetail.h"
00012 
00013 GD_NS_ASSUME_NONNULL_BEGIN
00014 
00015 @class GDServiceDetail;
00016 
00028 @interface GDServiceProvider : NSObject
00029 
00034 @property (nonatomic, strong) NSString* identifier;
00035 
00040 @property (nonatomic, strong) NSString* version;
00041 
00046 @property (nonatomic, strong) NSString* name;
00047 
00053 @property (GD_NSNULLABLE_PROP nonatomic, strong) NSString* address;
00054 
00061 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00062 @property (GD_NSNULLABLE_PROP nonatomic, strong) UIImage* icon;
00063 #else
00064 @property (GD_NSNULLABLE_PROP nonatomic, strong) NSImage* icon;
00065 #endif
00066 
00080 @property (nonatomic, assign) BOOL iconPending;
00081 
00090 @property (nonatomic, strong) GD_NSArray(GDAppServer *)* serverCluster;
00091 
00097 @property (nonatomic, strong) GD_NSArray(GDServiceDetail *)* services;
00098 @end
00099 
00100 GD_NS_ASSUME_NONNULL_END