• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 11.0.1.137
GDServiceDetail.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 #import "GDServiceProvider.h"
10 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
11 #import <GD/GDiOS.h>
12 #else
13 #import "GDMac.h"
14 #endif
15 
16 NS_ASSUME_NONNULL_BEGIN
17 
18 
19 
26 @interface GDServiceDetail : NSObject
27 
33 - (instancetype)initWithService:(NSString*)identifier
34  andVersion:(NSString*)version
35  andServiceType:(GDServiceType)type;
36 
39 @property (nonatomic, strong, readonly) NSString* identifier;
40 
43 @property (nonatomic, strong, readonly) NSString* version;
44 
48 @property (nonatomic, assign, readonly) GDServiceType serviceType;
49 
50 
51 @end
52 NS_ASSUME_NONNULL_END
GDServiceDetail
Details of a provided service.
Definition: GDServiceDetail.h:26
GDServiceDetail::identifier
NSString * identifier
BlackBerry Dynamics service identifier.
Definition: GDServiceDetail.h:39
GDServiceDetail::serviceType
GDServiceType serviceType
Indicator of the type of the provided service, either application-based or server-based.
Definition: GDServiceDetail.h:48
GDServiceDetail::version
NSString * version
BlackBerry Dynamics service version.
Definition: GDServiceDetail.h:43
GDServiceProvider.h
GDServiceType
GDServiceType
Constants for BlackBerry Dynamics service type.
Definition: GDiOS.h:30