HKQuery.SampleType Property

Definition

Developers should not use this deprecated property. Developers should use 'ObjectType' property.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual HealthKit.HKSampleType SampleType { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("sampleType", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.SampleType : HealthKit.HKSampleType

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Applies to