Structure

HKDocumentTypeIdentifier

Used to define the identifiers that create document type objects.

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. Use this type identifier 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)

Returns the shared document type for the provided identifier.