Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLHapticRect Class Reference

Section Contents

Overview

Defines spatial for each user control object for video streaming application

-initWithId:rect:

Undocumented

Objective-C

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

Swift

init(id: UInt32, rect: SDLRectangle)

id

A user control spatial identifier

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

Objective-C

@property (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) SDLRectangle *_Nonnull rect;

Swift

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