Method TimestampWithinDoubleClickTime
TimestampWithinDoubleClickTime(long)
Determines whether the specified timestamp occurs within the system-defined double-click time interval of the current timestamp.
public readonly bool TimestampWithinDoubleClickTime(long newTimestamp)
Parameters
newTimestamplongThe timestamp, in milliseconds, to compare against the current timestamp.
Returns
- bool
true if the specified timestamp is within the double-click time threshold; otherwise, false.
Remarks
The double-click time threshold is determined by the system setting for double-click speed. This method is typically used to detect whether two input events should be considered part of a double-click sequence.