編輯

共用方式為


CMPedometer.IsPedometerEventTrackingAvailable Property

Definition

Gets a value that tells whether pedometer tracking data is available on the device.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool IsPedometerEventTrackingAvailable { [Foundation.Export("isPedometerEventTrackingAvailable")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.IsPedometerEventTrackingAvailable : bool

Property Value

Attributes

Applies to