kind
TypeScriptget kind(): HKStateOfMind_KindSwift declarationvar kind: HKStateOfMind.Kind { get }class · iOS 18.0+ · SDK 27.1
class HKStateOfMindget kind(): HKStateOfMind_KindSwift declarationvar kind: HKStateOfMind.Kind { get }get valence(): numberSwift declarationvar valence: Double { get }get valenceClassification(): HKStateOfMind_ValenceClassificationSwift declarationvar valenceClassification: HKStateOfMind.ValenceClassification { get }get associations(): Array<HKStateOfMind_Association>Swift declarationvar associations: [HKStateOfMind.Association] { get }Zero or more facets of life with which this felt experience is associated.
static init(date: globalThis.Date, kind: HKStateOfMind_Kind, valence: number, labels: Array<HKStateOfMind_Label>, associations: Array<HKStateOfMind_Association>, metadata?: (Record<string, unknown>) | null): HKStateOfMindSwift declarationconvenience init(date: Date, kind: HKStateOfMind.Kind, valence: Double, labels: [HKStateOfMind.Label], associations: [HKStateOfMind.Association], metadata: [String : Any]? = [:])Creates a new log describing an experienced emotion at a moment in time.
get labels(): Array<HKStateOfMind_Label>Swift declarationvar labels: [HKStateOfMind.Label] { get }Zero or more specific sentiments selected to represent a felt experience.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
HKStateOfMind.init()
inherited init: cannot prove legal (class declares 1 custom initializer)