HKMetadata Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A key-value store for various types of health-related metadata.
public class HKMetadata : Foundation.DictionaryContainer
type HKMetadata = class
inherit DictionaryContainer
- Inheritance
Constructors
HKMetadata() |
Creates a new HKMetadata object. |
HKMetadata(NSDictionary) |
Creates a new HKMetadata object with the data in |
Properties
AlpineSlopeGrade | |
AverageSpeed | |
BloodGlucoseMealTime | |
BodyTemperatureSensorLocation |
Gets or sets the body temperature sensor location. |
CoachedWorkout |
Gets or sets a value that indicates whether the workout was coached. |
CrossTrainerDistance |
Gets or sets the distance traveled on a cross trainer. |
DeviceManufacturerName |
Gets or sets the device manufacturer name. |
DeviceName |
Gets or sets the device name. |
DeviceSerialNumber |
Gets or sets the device serial number. |
Dictionary |
Gets the wrapped NSDictionary. (Inherited from DictionaryContainer) |
DigitalSignature |
Gets or sets the digital signature. |
ElevationAscended | |
ElevationDescended | |
ExternalUuid |
Gets or sets the external UUID. |
FitnessMachineDuration |
Gets or sets the length of time spent on a fitness machine. |
FoodType |
Gets or sets the food type. |
GroupFitness |
Gets or sets a value that indicates whether the activity was a group fitness activity. |
HeartRateEventThreshold | |
HeartRateMotionContext | |
HeartRateSensorLocation |
Gets or sets the heart rate sensor location. |
IndoorBikeDistance |
Gets or sets the distance traveled on an indoor bike. |
IndoorWorkout |
Gets or sets a value that indicates whether the workout takes place indoors. |
InsulinDeliveryReason | |
LapLength | |
MaximumSpeed | |
MenstrualCycleStart | |
ReferenceRangeLowerLimit |
Gets or sets the lower limit of the reference range. |
ReferenceRangeUpperLimit |
Gets or sets the upper limit of the reference range. |
SexualActivityProtectionUsed | |
SwimmingLocationType | |
SwimmingStrokeStyle | |
SyncIdentifier | |
SyncVersion | |
TimeZone |
Gets or sets the time zone. |
UdiDeviceIdentifier |
Gets or set the UDI unique device identifier. |
UdiProductionIdentifier |
Gets or sets the UDI production identifier. |
VO2MaxTestType | |
WasTakenInLab |
Gets or sets a value that indicates whether a measurement was taken in a lab. |
WasUserEntered |
Gets or sets a value that indicates whether a measurement was entered by the user. |
WeatherCondition | |
WeatherHumidity | |
WeatherTemperature | |
WorkoutBrandName |
Gets or sets the brand name of the workout. |
Methods
GetArray<T>(NSString, Func<IntPtr,T>) | (Inherited from DictionaryContainer) |
GetArray<T>(NSString) |
Retrieves the array of type |
GetBoolValue(NSString) |
Returns the nullable Boolean associated with |
GetCGPointValue(NSString) |
Returns the nullable CGPoint associated with |
GetCGRectValue(NSString) |
Returns the nullable NSString associated with |
GetCGSizeValue(NSString) |
Returns the nullable CGSize associated with |
GetCMTimeValue(NSString) |
Returns the nullable CMTime associated with |
GetDoubleValue(NSString) |
Returns the nullable double associated with |
GetFloatValue(NSString) |
Returns the nullable float associated with |
GetInt32Value(NSString) |
Returns the nullable int associated with |
GetLongValue(NSString) |
Returns the nullable long associated with |
GetNativeValue<T>(NSString) |
Returns the native object associated with |
GetNIntValue(NSString) |
Returns the nullable native integer associated with |
GetNSDictionary(NSString) |
Returns the NSDictionary associated with |
GetNSDictionary<TKey,TValue>(NSString) |
Returns the NSDictionary associated with |
GetNSStringValue(NSString) |
Returns the NSString associated with |
GetNUIntValue(NSString) |
Returns the nullable native unsigned int associated with |
GetStringValue(NSString) |
Returns the string associated with |
GetStringValue(String) |
Returns the string associated with |
GetStrongDictionary<T>(NSString) |
Returns the DictionaryContainer associated with |
GetUInt32Value(NSString) |
Returns the nullable T:System.UInt32 associated with |
GetUIntValue(NSString) |
Returns the nullable T:System.UInt32 associated with |
RemoveValue(NSString) |
Removes from the dictionary the value associated with |
SetArrayValue(NSString, INativeObject[]) |
Associates the INativeObject array |
SetArrayValue(NSString, NSNumber[]) |
Associates the NSNumber array |
SetArrayValue(NSString, String[]) |
Associates the T:System.String array |
SetArrayValue<T>(NSString, T[]) |
Associates the array |
SetBooleanValue(NSString, Nullable<Boolean>) |
Stores the Boolean |
SetCGPointValue(NSString, Nullable<CGPoint>) |
Stores the CGPoint |
SetCGRectValue(NSString, Nullable<CGRect>) |
Stores the CGRect |
SetCGSizeValue(NSString, Nullable<CGSize>) |
Stores the CGSize |
SetCMTimeValue(NSString, Nullable<CMTime>) |
Stores the CMTime |
SetNativeValue(NSString, INativeObject, Boolean) | (Inherited from DictionaryContainer) |
SetNumberValue(NSString, Nullable<Double>) |
Stores the double |
SetNumberValue(NSString, Nullable<Int32>) |
Stores the int |
SetNumberValue(NSString, Nullable<Int64>) |
Stores the long |
SetNumberValue(NSString, Nullable<nint>) |
Stores the native integer |
SetNumberValue(NSString, Nullable<nuint>) |
Stores the native unsigned int |
SetNumberValue(NSString, Nullable<Single>) |
Stores the float |
SetNumberValue(NSString, Nullable<UInt32>) |
Stores the unsigned int |
SetStringValue(NSString, NSString) |
Stores the string |
SetStringValue(NSString, String) |
Stores the string |