// SDLTouchEvent.h // #import "SDLRPCMessage.h" @class SDLTouchCoord; NS_ASSUME_NONNULL_BEGIN /** A touch which occurred on the IVI system during projection */ @interface SDLTouchEvent : SDLRPCStruct /** A touch's unique identifier. The application can track the current touch events by id. If a touch event has type begin, the id should be added to the set of touches. If a touch event has type end, the id should be removed from the set of touches. Required, 0-9 */ @property (strong, nonatomic) NSNumber *touchEventId; /** The time that the touch was recorded. This number can the time since the beginning of the session or something else as long as the units are in milliseconds. The timestamp is used to determined the rate of change of position of a touch. The application also uses the time to verify whether two touches, with different ids, are part of a single action by the user. If there is only a single timestamp in this array, it is the same for every coordinate in the coordinates array. Required, array size 1-1000, contains integer value 0-2000000000 */ @property (strong, nonatomic) NSArray *> *timeStamp; /** The touch's coordinate Required, array size 1-1000 */ @property (strong, nonatomic) NSArray *coord; @end NS_ASSUME_NONNULL_END