blob: ca7182ade1841eca7f0c8e2b74e5cbab7fd72b40 (
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
|
//
// SDLHapticRect.h
// SmartDeviceLink-iOS
//
// Created by Nicole on 8/3/17.
// Copyright © 2017 smartdevicelink. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SDLRPCStruct.h"
@class SDLRectangle;
NS_ASSUME_NONNULL_BEGIN
/**
Defines spatial for each user control object for video streaming application
*/
@interface SDLHapticRect : SDLRPCStruct
/// Convenience init with all parameters
///
/// @param id A user control spatial identifier
/// @param rect The position of the haptic rectangle to be highlighted. The center of this rectangle will be "touched" when a press occurs
/// @return An SDLHapticRect object
- (instancetype)initWithId:(UInt32)id rect:(SDLRectangle *)rect;
/**
A user control spatial identifier
Required, Integer, 0 - 2,000,000,000
*/
@property (strong, nonatomic) NSNumber<SDLUInt> *id;
/**
The position of the haptic rectangle to be highlighted. The center of this rectangle will be "touched" when a press occurs.
Required
*/
@property (strong, nonatomic) SDLRectangle *rect;
@end
NS_ASSUME_NONNULL_END
|