summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLImageResolution.h
blob: bd9a82ae449d301a0e0061abd1574e4a2e06e630 (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
//  SDLImageResolution.h
//


#import "SDLRPCMessage.h"

NS_ASSUME_NONNULL_BEGIN

/**
 The resolution of an image
 */
@interface SDLImageResolution : SDLRPCStruct

/**
 Resolution width

 Required
 */
@property (strong, nonatomic) NSNumber<SDLInt> *resolutionWidth;

/**
 Resolution height

 Required
 */
@property (strong, nonatomic) NSNumber<SDLInt> *resolutionHeight;

/// Convenience init with all parameters
///
/// @param width Resolution width
/// @param height Resolution height
/// @return An SDLImageResolution object
- (instancetype)initWithWidth:(uint16_t)width height:(uint16_t)height;

@end

NS_ASSUME_NONNULL_END