• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
GDServiceDetail.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 #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 
28 @interface GDServiceDetail : NSObject
29 
35 - (instancetype)initWithService:(NSString*)identifier
36  andVersion:(NSString*)version
37  andServiceType:(GDServiceType)type;
38 
41 @property (nonatomic, strong, readonly) NSString* identifier;
42 
45 @property (nonatomic, strong, readonly) NSString* version;
46 
50 @property (nonatomic, assign, readonly) GDServiceType serviceType;
51 
52 
53 @end
54 NS_ASSUME_NONNULL_END
GDServiceDetail
Details of a provided service.
Definition: GDServiceDetail.h:28
GDServiceDetail::identifier
NSString * identifier
BlackBerry Dynamics service identifier.
Definition: GDServiceDetail.h:41
GDServiceDetail::serviceType
GDServiceType serviceType
Indicator of the type of the provided service, either application-based or server-based.
Definition: GDServiceDetail.h:50
GDServiceDetail::version
NSString * version
BlackBerry Dynamics service version.
Definition: GDServiceDetail.h:45
GDServiceProvider.h
GDServiceType
GDServiceType
Constants for BlackBerry Dynamics service type.
Definition: GDiOS.h:30