Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLHapticRect

SDLHapticRect Class Reference

Section Contents

Overview

Defines spatial for each user control object for video streaming application

-initWithId:rect:

Convenience init with all parameters

Objective-C

- (nonnull instancetype)initWithId:(UInt32)id rect:(nonnull SDLRectangle *)rect;

Swift

init(id: UInt32, rect: SDLRectangle)

Parameters

id

A user control spatial identifier

rect

The position of the haptic rectangle to be highlighted. The center of this rectangle will be “touched” when a press occurs

Return Value

An SDLHapticRect object

id

A user control spatial identifier

Required, Integer, 0 - 2,000,000,000

Objective-C

@property (nonatomic, strong) NSNumber<SDLUInt> *_Nonnull id;

Swift

var id: NSNumber & SDLUInt { get set }

rect

The position of the haptic rectangle to be highlighted. The center of this rectangle will be “touched” when a press occurs.

Required

Objective-C

@property (nonatomic, strong) SDLRectangle *_Nonnull rect;

Swift

var rect: SDLRectangle { get set }
View on GitHub.com
Previous Section Next Section