UIAccelerometerDelegate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class used to receive notifications from the UIAccelerometer.
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_iOS__UIKit_UIAccelerometerDelegate", false)]
public class UIAccelerometerDelegate : Foundation.NSObject, IDisposable, UIKit.IUIAccelerometerDelegate
[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("Microsoft_MacCatalyst__UIKit_UIAccelerometerDelegate", false)]
public class UIAccelerometerDelegate : Foundation.NSObject, IDisposable, UIKit.IUIAccelerometerDelegate
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_iOS__UIKit_UIAccelerometerDelegate", false)>]
type UIAccelerometerDelegate = class
inherit NSObject
interface IUIAccelerometerDelegate
interface INativeObject
interface IDisposable
[<Foundation.Model>]
[<Foundation.Protocol>]
[<Foundation.Register("Microsoft_MacCatalyst__UIKit_UIAccelerometerDelegate", false)>]
type UIAccelerometerDelegate = class
inherit NSObject
interface IUIAccelerometerDelegate
interface INativeObject
interface IDisposable
- Inheritance
- Attributes
- Implements
Remarks
To use this class, you must derive from it and override its methods to respond to events.
Alternatively, you can just use C# events to subscribe to Acceleration.
Constructors
| Name | Description |
|---|---|
| UIAccelerometerDelegate() |
Creates a new UIAccelerometerDelegate with default values. |
| UIAccelerometerDelegate(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIAccelerometerDelegate(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. (Inherited from NSObject) |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Zone | (Inherited from NSObject) |