HKWorkoutEvent.Create メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Create(HKWorkoutEventType, NSDate) |
開発者は、この非推奨のメソッドを使用しないでください。 開発者は、代わりに 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' を使用する必要があります。 |
Create(HKWorkoutEventType, NSDate, NSDictionary) | |
Create(HKWorkoutEventType, NSDate, HKMetadata) | |
Create(HKWorkoutEventType, NSDateInterval, NSDictionary) | |
Create(HKWorkoutEventType, NSDateInterval, HKMetadata) |
Create(HKWorkoutEventType, NSDate)
開発者は、この非推奨のメソッドを使用しないでください。 開発者は、代わりに 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' を使用する必要があります。
[Foundation.Export("workoutEventWithType:date:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
public static HealthKit.HKWorkoutEvent Create (HealthKit.HKWorkoutEventType type, Foundation.NSDate date);
static member Create : HealthKit.HKWorkoutEventType * Foundation.NSDate -> HealthKit.HKWorkoutEvent
パラメーター
- type
- HKWorkoutEventType
- date
- NSDate
戻り値
- 属性
適用対象
Create(HKWorkoutEventType, NSDate, NSDictionary)
[Foundation.Export("workoutEventWithType:date:metadata:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKWorkoutEvent Create (HealthKit.HKWorkoutEventType type, Foundation.NSDate date, Foundation.NSDictionary metadata);
static member Create : HealthKit.HKWorkoutEventType * Foundation.NSDate * Foundation.NSDictionary -> HealthKit.HKWorkoutEvent
パラメーター
- type
- HKWorkoutEventType
- date
- NSDate
- metadata
- NSDictionary
戻り値
- 属性
適用対象
Create(HKWorkoutEventType, NSDate, HKMetadata)
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'Create (HKWorkoutEventType, NSDateInterval, HKMetadata)' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKWorkoutEvent Create (HealthKit.HKWorkoutEventType type, Foundation.NSDate date, HealthKit.HKMetadata metadata);
static member Create : HealthKit.HKWorkoutEventType * Foundation.NSDate * HealthKit.HKMetadata -> HealthKit.HKWorkoutEvent
パラメーター
- type
- HKWorkoutEventType
- date
- NSDate
- metadata
- HKMetadata
戻り値
- 属性
適用対象
Create(HKWorkoutEventType, NSDateInterval, NSDictionary)
[Foundation.Export("workoutEventWithType:dateInterval:metadata:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKWorkoutEvent Create (HealthKit.HKWorkoutEventType type, Foundation.NSDateInterval dateInterval, Foundation.NSDictionary metadata);
static member Create : HealthKit.HKWorkoutEventType * Foundation.NSDateInterval * Foundation.NSDictionary -> HealthKit.HKWorkoutEvent
パラメーター
- type
- HKWorkoutEventType
- dateInterval
- NSDateInterval
戻り値
- 属性
適用対象
Create(HKWorkoutEventType, NSDateInterval, HKMetadata)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKWorkoutEvent Create (HealthKit.HKWorkoutEventType type, Foundation.NSDateInterval dateInterval, HealthKit.HKMetadata metadata);
static member Create : HealthKit.HKWorkoutEventType * Foundation.NSDateInterval * HealthKit.HKMetadata -> HealthKit.HKWorkoutEvent
パラメーター
- type
- HKWorkoutEventType
- dateInterval
- NSDateInterval
- metadata
- HKMetadata
戻り値
- 属性