HKWorkoutEvent.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Create(HKWorkoutEventType, NSDate) |
개발자는 이 사용되지 않는 메서드를 사용하면 안 됩니다. 개발자는 대신 '만들기(HKWorkoutEventType, NSDateInterval, HKMetadata)'를 사용해야 합니다. |
Create(HKWorkoutEventType, NSDate, NSDictionary) | |
Create(HKWorkoutEventType, NSDate, HKMetadata) | |
Create(HKWorkoutEventType, NSDateInterval, NSDictionary) | |
Create(HKWorkoutEventType, NSDateInterval, HKMetadata) |
Create(HKWorkoutEventType, NSDate)
개발자는 이 사용되지 않는 메서드를 사용하면 안 됩니다. 개발자는 대신 '만들기(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
반환
- 특성