blob: 87ffe95297614edc44df1fd36a2f1e3074d9c841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
//
// SDLSystemCapability.h
// SmartDeviceLink-iOS
//
// Created by Joel Fischer on 7/10/17.
// Copyright © 2017 smartdevicelink. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SDLRPCStruct.h"
#import "SDLSystemCapabilityType.h"
@class SDLPhoneCapability;
@class SDLNavigationCapability;
@class SDLVideoStreamingCapability;
@class SDLRemoteControlCapabilities;
NS_ASSUME_NONNULL_BEGIN
/**
The systemCapabilityType indicates which type of data should be changed and identifies which data object exists in this struct. For example, if the SystemCapability Type is NAVIGATION then a "navigationCapability" should exist.
First implemented in SDL Core v4.4
*/
@interface SDLSystemCapability : SDLRPCStruct
- (instancetype)initWithNavigationCapability:(SDLNavigationCapability *)capability;
- (instancetype)initWithPhoneCapability:(SDLPhoneCapability *)capability;
- (instancetype)initWithVideoStreamingCapability:(SDLVideoStreamingCapability *)capability;
- (instancetype)initWithRemoteControlCapability:(SDLRemoteControlCapabilities *)capability;
/**
Used as a descriptor of what data to expect in this struct. The corresponding param to this enum should be included and the only other parameter included.
*/
@property (strong, nonatomic) SDLSystemCapabilityType systemCapabilityType;
/**
Describes extended capabilities for onboard navigation system
*/
@property (nullable, strong, nonatomic) SDLNavigationCapability *navigationCapability;
/**
Describes extended capabilities of the module's phone feature
*/
@property (nullable, strong, nonatomic) SDLPhoneCapability *phoneCapability;
/**
Describes extended capabilities of the module's phone feature
*/
@property (nullable, strong, nonatomic) SDLVideoStreamingCapability *videoStreamingCapability;
/**
Describes extended capabilities of the module's phone feature
*/
@property (nullable, strong, nonatomic) SDLRemoteControlCapabilities *remoteControlCapability;
@end
NS_ASSUME_NONNULL_END
|