The possible phases of a touch. These constants are used by phase.
Available in Mac OS X v10.6 and later.
C# | Visual Basic | Visual C++ |
public enum NSTouchPhase
Public Enumeration NSTouchPhase
public enum class NSTouchPhase
Member | Description |
---|---|
NSTouchPhaseBegan | A finger touched the device. Or, a resting touch transitioned to an active touch and resting touches are not wanted by the view hierarchy. Available in Mac OS X v10.6 and later. |
NSTouchPhaseMoved | A finger moved on the device. Available in Mac OS X v10.6 and later. |
NSTouchPhaseStationary | A finger is touching the device, but hasn't moved since the previous event. Available in Mac OS X v10.6 and later. |
NSTouchPhaseEnded | A finger was lifted from the screen. Or, an active touch transitioned to a resting touch and resting touches are not wanted by the view hierarchy. Available in Mac OS X v10.6 and later. |
NSTouchPhaseCancelled | The system cancelled tracking for the touch, as when (for example) the window associated with the touch resigns key or is deactivated. Available in Mac OS X v10.6 and later. |
NSTouchPhaseTouching | Matches the NSTouchPhaseBegan, NSTouchPhaseMoved, or NSTouchPhaseStationary phases of a touch. Available in Mac OS X v10.6 and later. |
NSTouchPhaseAny | Matches any phase of a touch. Available in Mac OS X v10.6 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)