summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-05-06 10:27:46 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-05-06 10:27:46 -0400
commit7cf2918f2a3ff3c9e4fb3eda370bc2bae7dcae8c (patch)
tree2d7f901d8303a3d413aaa3f4e21283daffd7ea68
parent0915c8ad999e0e4ef9bacbb127a40c4067023fd9 (diff)
downloadsdl_ios-bugfix/issue-1611-replace-nstimer-with-sdltimer.tar.gz
-rw-r--r--SmartDeviceLink/SDLTouchManager.h37
1 files changed, 15 insertions, 22 deletions
diff --git a/SmartDeviceLink/SDLTouchManager.h b/SmartDeviceLink/SDLTouchManager.h
index 7b7e65a97..c762d6822 100644
--- a/SmartDeviceLink/SDLTouchManager.h
+++ b/SmartDeviceLink/SDLTouchManager.h
@@ -33,39 +33,35 @@ typedef void(^SDLTouchEventHandler)(SDLTouch *touch, SDLTouchType type);
@property (nonatomic, weak, nullable) id<SDLTouchManagerDelegate> touchEventDelegate;
/**
- * @abstract
- * Returns all OnTouchEvent notifications as SDLTouch and SDLTouchType objects.
+ Returns all OnTouchEvent notifications as SDLTouch and SDLTouchType objects.
*/
@property (copy, nonatomic, nullable) SDLTouchEventHandler touchEventHandler;
/**
Distance between two taps on the screen, in the head unit's coordinate system, used for registering double-tap callbacks.
- @note Defaults to 50 px.
+ Defaults to 50 px.
*/
@property (nonatomic, assign) CGFloat tapDistanceThreshold;
/**
Minimum distance for a pan gesture in the head unit's coordinate system, used for registering pan callbacks.
- @note Defaults to 8 px.
+ Defaults to 8 px.
*/
@property (nonatomic, assign) CGFloat panDistanceThreshold;
/**
- * @abstract
- * Time (in seconds) between tap events to register a double-tap callback.
- * @remark
- * Default is 0.4 seconds.
+ Time (in seconds) between tap events to register a double-tap callback. This must be greater than 0.0.
+
+ Default is 0.4 seconds.
*/
@property (nonatomic, assign) CGFloat tapTimeThreshold;
/**
- * @abstract
- * Time (in seconds) between movement events to register panning or pinching
- * callbacks.
- * @remark
- * Default is 0.05 seconds.
+ Time (in seconds) between movement events to register panning or pinching callbacks.
+
+ Default is 0.05 seconds.
*/
@property (nonatomic, assign) CGFloat movementTimeThreshold __deprecated_msg("This is now unused, the movement time threshold is now synced to the framerate automatically");
@@ -75,19 +71,16 @@ typedef void(^SDLTouchEventHandler)(SDLTouch *touch, SDLTouchType type);
@property (assign, nonatomic) BOOL enableSyncedPanning;
/**
- * @abstract
- * Boolean denoting whether or not the touch manager should deliver touch event
- * callbacks.
- * @remark
- * Default is true.
+ Boolean denoting whether or not the touch manager should deliver touch event callbacks.
+
+ Default is true.
*/
@property (nonatomic, assign, getter=isTouchEnabled) BOOL touchEnabled;
/**
- * @abstract
- * Cancels pending touch event timers that may be in progress.
- * @remark
- * Currently only impacts the timer used to register single taps.
+ Cancels pending touch event timers that may be in progress.
+
+ Currently only impacts the timer used to register single taps.
*/
- (void)cancelPendingTouches;