Structure

HKDocumentTypeIdentifier

Used to define the identifiers that create document type objects.

Declaration

struct HKDocumentTypeIdentifier

Overview

To create an HKDocumentType instance, pass an HKDocumentTypeIdentifier value to the documentType(forIdentifier:) method.

For the complete list of quantity type identifiers, see Document Types.

Topics

Document Types

static let CDA: HKDocumentTypeIdentifier

The CDA Document type identifier, used when requesting permission to read or share CDA documents.

Initializers

init(rawValue: String)

Returns a newly initialized document type identifier using the provided string.

Relationships

See Also

Creating Document Types

class func documentType(forIdentifier: HKDocumentTypeIdentifier) -> HKDocumentType?

Returns the shared document type for the provided identifier.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software