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

GDServiceDetail.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 "GDServiceProvider.h"
00011 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
00012 #import <GD/GDiOS.h>
00013 #else
00014 #import "GDMac.h"
00015 #endif
00016 
00017 GD_NS_ASSUME_NONNULL_BEGIN
00018 
00025 @interface GDServiceDetail : NSObject
00026 
00027 - (instancetype)initWithService:(NSString*)identifier andVersion:(NSString*)version andType:(GDServiceProviderType)type;
00028 
00031 @property (nonatomic, strong, readonly) NSString* identifier;
00032 
00035 @property (nonatomic, strong, readonly) NSString* version;
00036 
00040 @property (nonatomic, assign, readonly) GDServiceProviderType type;
00041 
00042 @end
00043 
00044 
00045 GD_NS_ASSUME_NONNULL_END