iOS Guides | Samples

MonoTouch.UIKit.UITouchType Enumeration

Enumerates different kinds of UITouch objects.

Syntax

[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITouchType

Members

Member NameDescription
DirectA direct touch caused by a finger on the screen.
IndirectA touch that was not caused by a finger or stylus.
StylusA touch that was caused by a stylus (e.g., the Apple Pencil).

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UITouchType are listed below.

See Also: Enum

Public Fields

DirectUITouchType. A direct touch caused by a finger on the screen.
IndirectUITouchType. A touch that was not caused by a finger or stylus.
StylusUITouchType. A touch that was caused by a stylus (e.g., the Apple Pencil).