iOS Guides | Samples

MonoTouch.UIKit.UITouchProperties Enumeration

A flagging enumeration of the properties of a UITouch that may change.

Syntax

[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 1, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UITouchProperties

Remarks

Different hardware devices have different capabilities that can vary over the duration of a touch. For instance, all current hardware allows the UITouchProperties.Location property to vary, but only the Apple Pencil currently supports the UITouchProperties.Altitude and UITouchProperties.Azimuth values to change over the course of a touch.

Members

Member NameDescription
AltitudeThe device allows for the possibility that the UITouch.AltitudeAngle will vary over the course of a touch.
AzimuthThe device allows for the possibility that the UITouch.GetAzimuthAngle and UITouch.GetAzimuthUnitVector will vary over the course of a touch.
ForceThe device allows for the possibility that the UITouch.Force will vary over the course of a touch.
LocationThe device allows for the possibility that the UITouch.LocationInView will vary over the course of a touch.

Requirements

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

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

See Also: Enum

Public Fields

AltitudeUITouchProperties. The device allows for the possibility that the UITouch.AltitudeAngle will vary over the course of a touch.
AzimuthUITouchProperties. The device allows for the possibility that the UITouch.GetAzimuthAngle and UITouch.GetAzimuthUnitVector will vary over the course of a touch.
ForceUITouchProperties. The device allows for the possibility that the UITouch.Force will vary over the course of a touch.
LocationUITouchProperties. The device allows for the possibility that the UITouch.LocationInView will vary over the course of a touch.