CMMotionActivity 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 motion update event, including characterization of the likely form (walking, running, automotive).
[Foundation.Register("CMMotionActivity", true)]
public class CMMotionActivity : CoreMotion.CMLogItem, IDisposable
[<Foundation.Register("CMMotionActivity", true)>]
type CMMotionActivity = class
inherit CMLogItem
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CMMotionActivity(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| CMMotionActivity(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| CMMotionActivity(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) |
| Automotive |
Whether the device is in an automobile. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Confidence |
The confidence in the assessement of the motion type. |
| Cycling |
The device is on a bicycle. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (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) |
| Running |
The user is running with the device. |
| Self | (Inherited from NSObject) |
| StartDate |
The beginning of the data interval. |
| Stationary |
The user is not moving a significant amount. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Timestamp | (Inherited from CMLogItem) |
| Unknown |
The device's motion cannot be characterized. |
| Walking |
The user is walking with the device. |
| Zone | (Inherited from NSObject) |