Upravit

Sdílet prostřednictvím


HKCorrelation.Create Method

Definition

Overloads

Create(HKCorrelationType, NSDate, NSDate, NSSet)

Creates a correlation between objects for the supplied date range.

Create(HKCorrelationType, NSDate, NSDate, NSSet, NSDictionary)

Creates a correlation between objects for the supplied date range.

Create(HKCorrelationType, NSDate, NSDate, NSSet, HKMetadata)

Creates a correlation between objects for the supplied date range.

Create(HKCorrelationType, NSDate, NSDate, NSSet<HKSample>, HKDevice, NSDictionary<NSString,NSObject>)

Creates a new HKCorrelation from the provided data.

Create(HKCorrelationType, NSDate, NSDate, NSSet)

Creates a correlation between objects for the supplied date range.

[Foundation.Export("correlationWithType:startDate:endDate:objects:")]
public static HealthKit.HKCorrelation Create (HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects);
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet -> HealthKit.HKCorrelation

Parameters

correlationType
HKCorrelationType
startDate
NSDate
endDate
NSDate
objects
NSSet

Returns

Attributes

Applies to

Create(HKCorrelationType, NSDate, NSDate, NSSet, NSDictionary)

Creates a correlation between objects for the supplied date range.

[Foundation.Export("correlationWithType:startDate:endDate:objects:metadata:")]
public static HealthKit.HKCorrelation Create (HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects, Foundation.NSDictionary metadata);
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet * Foundation.NSDictionary -> HealthKit.HKCorrelation

Parameters

correlationType
HKCorrelationType
startDate
NSDate
endDate
NSDate
objects
NSSet
metadata
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to

Create(HKCorrelationType, NSDate, NSDate, NSSet, HKMetadata)

Creates a correlation between objects for the supplied date range.

public static HealthKit.HKCorrelation Create (HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects, HealthKit.HKMetadata metadata);
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet * HealthKit.HKMetadata -> HealthKit.HKCorrelation

Parameters

correlationType
HKCorrelationType
startDate
NSDate
endDate
NSDate
objects
NSSet
metadata
HKMetadata

Returns

Applies to

Create(HKCorrelationType, NSDate, NSDate, NSSet<HKSample>, HKDevice, NSDictionary<NSString,NSObject>)

Creates a new HKCorrelation from the provided data.

[Foundation.Export("correlationWithType:startDate:endDate:objects:device:metadata:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKCorrelation Create (HealthKit.HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet<HealthKit.HKSample> objects, HealthKit.HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
static member Create : HealthKit.HKCorrelationType * Foundation.NSDate * Foundation.NSDate * Foundation.NSSet<HealthKit.HKSample> * HealthKit.HKDevice * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> HealthKit.HKCorrelation

Parameters

correlationType
HKCorrelationType
startDate
NSDate
endDate
NSDate
objects
NSSet<HKSample>
device
HKDevice

To be added.

This parameter can be null.

metadata
NSDictionary<NSString,NSObject>

To be added.

This parameter can be null.

Returns

Attributes

Applies to