Düzenle

Aracılığıyla paylaş


HKCdaDocumentSample.Create Method

Definition

Overloads

Create(NSData, NSDate, NSDate, NSDictionary, NSError)

Creates a new HKCdaDocumentSample with the specified values.

Create(NSData, NSDate, NSDate, HKMetadata, NSError)

Creates a new HKCdaDocumentSample with the specified values.

Create(NSData, NSDate, NSDate, NSDictionary, NSError)

Creates a new HKCdaDocumentSample with the specified values.

[Foundation.Export("CDADocumentSampleWithData:startDate:endDate:metadata:validationError:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKCdaDocumentSample Create (Foundation.NSData documentData, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary metadata, out Foundation.NSError validationError);
static member Create : Foundation.NSData * Foundation.NSDate * Foundation.NSDate * Foundation.NSDictionary *  -> HealthKit.HKCdaDocumentSample

Parameters

documentData
NSData
startDate
NSDate
endDate
NSDate
metadata
NSDictionary

To be added.

This parameter can be null.

validationError
NSError

Returns

Attributes

Applies to

Create(NSData, NSDate, NSDate, HKMetadata, NSError)

Creates a new HKCdaDocumentSample with the specified values.

public static HealthKit.HKCdaDocumentSample Create (Foundation.NSData documentData, Foundation.NSDate startDate, Foundation.NSDate endDate, HealthKit.HKMetadata metadata, out Foundation.NSError validationError);
static member Create : Foundation.NSData * Foundation.NSDate * Foundation.NSDate * HealthKit.HKMetadata *  -> HealthKit.HKCdaDocumentSample

Parameters

documentData
NSData
startDate
NSDate
endDate
NSDate
metadata
HKMetadata
validationError
NSError

Returns

Applies to