[HealthKit] updates for beta 1 - beta 4 xcode11 (#6692)

* healthkit b1-b3 updates

* fixes for first round of comments

* remove whitespace noise

* move hkcategorytype enums

* update mono-touch tests, remove [designatedinitializer] attr

* alex nit fixes

* fix formatting for [Deprecated]

* update mono-touch tests with even more enums

* InsertQuantity -> Insert

* remove references to xcode13, which does not exist

* add HKCharacteristicTypeIdentifierActivityMoveMode to .ignore files
This commit is contained in:
Whitney Schmidt 2019-08-02 14:06:22 -04:00 коммит произвёл GitHub
Родитель 4863742abe
Коммит 7b63a38698
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 335 добавлений и 141 удалений

Просмотреть файл

@ -93,7 +93,15 @@ namespace HealthKit
[Native]
public enum HKQuantityAggregationStyle : long {
Cumulative = 0,
Discrete
[iOS (13, 0), Watch (6, 0)]
DiscreteArithmetic,
[Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'HKQuantityAggregationStyle.DiscreteArithmetic'.")]
[Deprecated (PlatformName.iOS, 13, 0, message: "Use 'HKQuantityAggregationStyle.DiscreteArithmetic'.")]
Discrete = DiscreteArithmetic,
[iOS (13, 0), Watch (6, 0)]
DiscreteTemporallyWeighted,
[iOS (13, 0), Watch (6, 0)]
DiscreteEquivalentContinuousLevel,
}
// NSInteger -> HKObjectType.h
@ -129,7 +137,11 @@ namespace HealthKit
DiscreteAverage = 1 << 1,
DiscreteMin = 1 << 2,
DiscreteMax = 1 << 3,
CumulativeSum = 1 << 4
CumulativeSum = 1 << 4,
[iOS (13, 0), Watch (6, 0)]
MostRecent = 1 << 5,
[iOS (13, 0), Watch (6, 0)]
Duration = 1 << 6,
}
// NSInteger -> HKUnit.h
@ -149,7 +161,9 @@ namespace HealthKit
Kilo,
Mega,
Giga,
Tera
Tera,
[iOS (13, 0), Watch (6, 0)]
Femto,
}
[Native]
@ -251,6 +265,10 @@ namespace HealthKit
MixedCardio,
[iOS (11, 0), Watch (4, 0)]
HandCycling,
[iOS (13, 0), Watch (6, 0)]
DiscSports,
[iOS (13, 0), Watch (6, 0)]
FitnessGaming,
[iOS (8,2)]
Other = 3000
}
@ -311,8 +329,14 @@ namespace HealthKit
public enum HKCategoryValueOvulationTestResult : long {
NotApplicable = 0,
Negative = 1,
Positive,
Indeterminate
[iOS (13, 0), Watch (6, 0)]
LuteinizingHormoneSurge = 2,
[Deprecated (PlatformName.iOS, 13, 0, message: "Use 'HKCategoryValueOvulationTestResult.LuteinizingHormoneSurge' instead.")]
[Deprecated (PlatformName.WatchOS, 6, 0, message: "Use 'HKCategoryValueOvulationTestResult.LuteinizingHormoneSurge' instead.")]
Positive = LuteinizingHormoneSurge,
Indeterminate = 3,
[iOS (13, 0), Watch (6, 0)]
EstrogenSurge = 4,
}
[Watch (2,0)]
@ -323,6 +347,13 @@ namespace HealthKit
Idle
}
[iOS (13,0)]
[Watch (6,0)]
[Native]
public enum HKCategoryValueAudioExposureEvent : long {
LoudEnvironment = 1,
}
[Watch (2,0)]
[iOS (9,0)]
[Native]

Просмотреть файл

@ -4,8 +4,10 @@
// Authors:
// Alex Soto alex.soto@xamarin.com
// Miguel de Icaza (miguel@xamarin.com)
// Whitney Schmidt (whschm@microsoft.com)
//
// Copyright 2014-2015 Xamarin Inc.
// Copyright 2019 Microsoft Corporation. All rights reserved.
//
using CoreFoundation;
@ -201,6 +203,38 @@ namespace HealthKit {
[NoWatch, iOS (12, 0)]
[Field ("HKPredicateKeyPathClinicalRecordFHIRResourceType")]
NSString ClinicalRecordFhirResourceType { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathMin")]
NSString Min { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathAverage")]
NSString Average { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathMax")]
NSString Max { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathMostRecent")]
NSString MostRecent { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathMostRecentStartDate")]
NSString MostRecentStartDate { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathMostRecentEndDate")]
NSString MostRecentEndDate { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathMostRecentDuration")]
NSString MostRecentDuration { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKPredicateKeyPathCount")]
NSString PathCount { get; }
}
[NoWatch] // headers says it's available but it's only usable from another, unavailable, type
@ -547,6 +581,12 @@ namespace HealthKit {
HKBloodType BloodType { get; }
}
[Watch (6,0)]
[iOS (13,0)]
[BaseType (typeof (HKSampleType))]
[DisableDefaultCtor]
interface HKAudiogramSampleType {}
[StrongDictionary ("HKMetadataKey")]
interface HKMetadata {
[Export ("FoodType")]
@ -851,6 +891,14 @@ namespace HealthKit {
[Watch (5, 2), iOS (12, 2)]
[Field ("HKMetadataKeyHeartRateEventThreshold")]
NSString HeartRateEventThreshold { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKMetadataKeyAverageMETs")]
NSString AverageMets { get; }
[Watch (6, 0), iOS (13, 0)]
[Field ("HKMetadataKeyAudioExposureLevel")]
NSString AudioExposureLevel { get; }
}
[Watch (2,0)]
@ -971,6 +1019,11 @@ namespace HealthKit {
[Static]
[Wrap ("GetClinicalType (identifier.GetConstant ())")]
HKClinicalType GetClinicalType (HKClinicalTypeIdentifier identifier);
[Watch (6, 0), iOS (13, 0)]
[Static]
[Export ("audiogramSampleType")]
HKAudiogramSampleType AudiogramSampleType { get; }
}
[Watch (2,0)]
@ -989,7 +1042,21 @@ namespace HealthKit {
[Abstract] // The HKSampleType class is an abstract subclass of the HKObjectType class, used to represent data samples. Never instantiate an HKSampleType object directly. Instead, you should always work with one of its concrete subclasses [...]
#endif
interface HKSampleType {
[iOS (13,0), Watch (6,0)]
[Export ("isMaximumDurationRestricted")]
bool IsMaximumDurationRestricted { get; }
[iOS (13,0), Watch (6,0)]
[Export ("maximumAllowedDuration")]
double MaximumAllowedDuration { get; }
[iOS (13,0), Watch (6,0)]
[Export ("isMinimumDurationRestricted")]
bool IsMinimumDurationRestricted { get; }
[iOS (13,0), Watch (6,0)]
[Export ("minimumAllowedDuration")]
double MinimumAllowedDuration { get; }
}
[Watch (5,0)]
@ -1380,6 +1447,15 @@ namespace HealthKit {
[Watch (5, 0), iOS (12, 0)]
[NullAllowed, Export ("mostRecentQuantityDateInterval")]
NSDateInterval MostRecentQuantityDateInterval { get; }
[Watch (6, 0), iOS (13, 0)]
[NullAllowed, Export ("duration")]
HKQuantity Duration { get; }
[Watch (6,0), iOS (13,0)]
[Export ("durationForSource:")]
[return: NullAllowed]
HKQuantity GetDuration (HKSource source);
}
delegate void HKStatisticsCollectionEnumerator (HKStatistics result, bool stop);
@ -1706,6 +1782,17 @@ namespace HealthKit {
[Field ("HKQuantityTypeIdentifierHeartRateVariabilitySDNN")]
HeartRateVariabilitySdnn,
[Watch (6, 0), iOS (13, 0)]
[Field ("HKQuantityTypeIdentifierAppleStandTime")]
AppleStandTime,
[Watch (6, 0), iOS (13, 0)]
[Field ("HKQuantityTypeIdentifierEnvironmentalAudioExposure")]
EnvironmentalAudioExposure,
[Watch (6, 0), iOS (13, 0)]
[Field ("HKQuantityTypeIdentifierHeadphoneAudioExposure")]
HeadphoneAudioExposure,
}
[Watch (2,0)]
@ -1718,6 +1805,13 @@ namespace HealthKit {
Food,
}
[Watch (6, 0), iOS (13, 0)]
enum HKDataTypeIdentifier
{
[Field ("HKDataTypeIdentifierHeartbeatSeries")]
HeartbeatSeries,
}
[Watch (2,0)]
[iOS (8,0)]
enum HKCategoryTypeIdentifier
@ -1766,6 +1860,14 @@ namespace HealthKit {
[Watch (5,2), iOS (12,2)]
[Field ("HKCategoryTypeIdentifierIrregularHeartRhythmEvent")]
IrregularHeartRhythmEvent,
[Watch (6, 0), iOS (13, 0)]
[Field ("HKCategoryTypeIdentifierAudioExposureEvent")]
AudioExposureEvent,
[Watch (6, 0), iOS (13, 0)]
[Field ("HKCategoryTypeIdentifierToothbrushingEvent")]
ToothbrushingEvent,
}
[Watch (2,0)]
@ -1790,6 +1892,11 @@ namespace HealthKit {
[iOS (10,0), Watch (3,0)]
[Field ("HKCharacteristicTypeIdentifierWheelchairUse")]
WheelchairUse,
// API unavailable https://github.com/xamarin/maccore/issues/1899
// [Watch (6, 0), iOS (13, 0)]
// [Field ("HKCharacteristicTypeIdentifierActivityMoveMode")]
// ActivityMoveMode,
}
[Watch (2,0)]
@ -2047,6 +2154,30 @@ namespace HealthKit {
[Static]
[Export ("internationalUnit")]
HKUnit InternationalUnit { get; }
// HKUnit (DecibelAWeightedSoundPressureLevel) Category
[Watch (6,0), iOS (13,0)]
[Static]
[Export ("decibelAWeightedSoundPressureLevelUnit")]
HKUnit DecibelAWeightedSoundPressureLevelUnit { get; }
// HKUnit (HearingSensitivity) Category
[Watch (6,0), iOS (13,0)]
[Static]
[Export ("decibelHearingLevelUnit")]
HKUnit DecibelHearingLevelUnit { get; }
// HKUnit (Frequency) Category
[Watch (6,0), iOS (13,0)]
[Static]
[Export ("hertzUnitWithMetricPrefix:")]
HKUnit GetHertzUnit (HKMetricPrefix prefix);
[Watch (6,0), iOS (13,0)]
[Static]
[Export ("hertzUnit")]
HKUnit HertzUnit { get; }
}
[Watch (2,0)]
@ -2555,6 +2686,11 @@ namespace HealthKit {
[Static]
[Export ("workoutRouteType")]
HKSeriesType WorkoutRouteType { get; }
[Watch (6,0), iOS (13,0)]
[Static]
[Export ("heartbeatSeriesType")]
HKSeriesType HeartbeatSeriesType { get; }
}
[iOS (11,0)]
@ -2693,13 +2829,27 @@ namespace HealthKit {
}
delegate void HKQuantitySeriesSampleQueryQuantityDelegate (HKQuantitySeriesSampleQuery query, HKQuantity quantity, NSDate date, bool done, NSError error);
delegate void HKQuantitySeriesSampleQueryQuantityHandler (HKQuantitySeriesSampleQuery query, HKQuantity quantity, NSDateInterval date, bool done, NSError error);
[Watch (5,0), iOS (12,0)]
[BaseType (typeof(HKQuery))]
interface HKQuantitySeriesSampleQuery
{
[Watch (6, 0), iOS (13, 0)]
[Export ("includeSample")]
bool IncludeSample { get; set; }
[Watch (6, 0), iOS (13, 0)]
[Export ("orderByQuantitySampleStartDate")]
bool OrderByQuantitySampleStartDate { get; set; }
[Watch (6,0), iOS (13,0)]
[Export ("initWithQuantityType:predicate:quantityHandler:")]
IntPtr Constructor (HKQuantityType quantityType, [NullAllowed] NSPredicate predicate, HKQuantitySeriesSampleQueryQuantityHandler quantityHandler);
[Deprecated (PlatformName.iOS, 13, 0, message: "Use Constructor that takes 'NSDateInterval' instead.")]
[Deprecated (PlatformName.WatchOS, 6, 0, message: "Use Constructor that takes 'NSDateInterval' instead.")]
[Export ("initWithSample:quantityHandler:")]
[DesignatedInitializer]
IntPtr Constructor (HKQuantitySample quantitySample, HKQuantitySeriesSampleQueryQuantityDelegate quantityHandler);
}
@ -2733,8 +2883,23 @@ namespace HealthKit {
[Wrap ("FinishSeries (metadata?.Dictionary, completionHandler)")]
void FinishSeries ([NullAllowed] HKMetadata metadata, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
[Watch (6,0), iOS (13,0)]
[Async]
[Export ("finishSeriesWithMetadata:endDate:completion:")]
void FinishSeries ([NullAllowed] NSDictionary metadata, [NullAllowed] NSDate endDate, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
[Watch (6,0), iOS (13,0)]
[Async]
[Wrap ("FinishSeries (metadata?.Dictionary, endDate, completionHandler)")]
void FinishSeries ([NullAllowed] HKMetadata metadata, [NullAllowed] NSDate endDate, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
[Export ("discard")]
void Discard ();
[Watch (6,0), iOS (13,0)]
[Export ("insertQuantity:dateInterval:error:")]
bool Insert (HKQuantity quantity, NSDateInterval dateInterval, [NullAllowed] out NSError error);
}
[Watch (5,0), NoiOS]
@ -2778,14 +2943,25 @@ namespace HealthKit {
}
[Watch (5,0), iOS (12,0)]
[Deprecated (PlatformName.iOS, 13, 0, message: "Use HKCumulativeQuantitySample instead.")]
[Deprecated (PlatformName.WatchOS, 6, 0, message: "Use HKCumulativeQuantitySample instead.")]
[DisableDefaultCtor]
[BaseType (typeof(HKQuantitySample))]
[BaseType (typeof (HKCumulativeQuantitySample))]
interface HKCumulativeQuantitySeriesSample
{
[Export ("sum", ArgumentSemantic.Copy)]
HKQuantity Sum { get; }
}
[Watch (6,0), iOS (13,0)]
[BaseType (typeof (HKQuantitySample))]
[DisableDefaultCtor]
interface HKCumulativeQuantitySample
{
[Export ("sumQuantity", ArgumentSemantic.Copy)]
HKQuantity SumQuantity { get; }
}
[NoWatch, iOS (12,0)]
[DisableDefaultCtor]
[BaseType (typeof(HKSample))]
@ -2840,4 +3016,103 @@ namespace HealthKit {
[Export ("elapsedTime")]
double ElapsedTime { get; }
}
[Watch (6,0), iOS (13,0)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface HKAudiogramSensitivityPoint
{
[Export ("frequency", ArgumentSemantic.Copy)]
HKQuantity Frequency { get; }
[NullAllowed, Export ("leftEarSensitivity", ArgumentSemantic.Copy)]
HKQuantity LeftEarSensitivity { get; }
[NullAllowed, Export ("rightEarSensitivity", ArgumentSemantic.Copy)]
HKQuantity RightEarSensitivity { get; }
[Static]
[Export ("sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:")]
[return: NullAllowed]
HKAudiogramSensitivityPoint GetSensitivityPoint (HKQuantity frequency, [NullAllowed] HKQuantity leftEarSensitivity, [NullAllowed] HKQuantity rightEarSensitivity, [NullAllowed] out NSError error);
}
[Watch (6,0), iOS (13,0)]
[BaseType (typeof (HKSample))]
[DisableDefaultCtor]
interface HKAudiogramSample
{
[Export ("sensitivityPoints", ArgumentSemantic.Copy)]
HKAudiogramSensitivityPoint[] SensitivityPoints { get; }
[Static]
[Export ("audiogramSampleWithSensitivityPoints:startDate:endDate:metadata:")]
HKAudiogramSample GetAudiogramSample (HKAudiogramSensitivityPoint[] sensitivityPoints, NSDate startDate, NSDate endDate, [NullAllowed] NSDictionary<NSString, NSObject> metadata);
}
[Watch (6,0), iOS (13,0)]
[BaseType (typeof (HKQuantitySample))]
[DisableDefaultCtor]
interface HKDiscreteQuantitySample
{
[Export ("minimumQuantity", ArgumentSemantic.Copy)]
HKQuantity Minimum { get; }
[Export ("averageQuantity", ArgumentSemantic.Copy)]
HKQuantity Average { get; }
[Export ("maximumQuantity", ArgumentSemantic.Copy)]
HKQuantity Maximum { get; }
[Export ("mostRecentQuantity", ArgumentSemantic.Copy)]
HKQuantity MostRecent { get; }
[Export ("mostRecentQuantityDateInterval", ArgumentSemantic.Copy)]
NSDateInterval MostRecentDateInterval { get; }
}
[iOS (13,0)]
[Watch (6,0)]
[BaseType (typeof (HKSeriesSample))]
[DisableDefaultCtor]
interface HKHeartbeatSeriesSample : NSSecureCoding {}
delegate void HKHeartbeatSeriesBuilderCompletionHandler (bool success, NSError error);
[Watch (6,0), iOS (13,0)]
[BaseType (typeof (HKSeriesBuilder))]
[DisableDefaultCtor]
interface HKHeartbeatSeriesBuilder
{
[Static]
[Export ("maximumCount")]
nuint MaximumCount { get; }
[Export ("initWithHealthStore:device:startDate:")]
[DesignatedInitializer]
IntPtr Constructor (HKHealthStore healthStore, [NullAllowed] HKDevice device, NSDate startDate);
[Export ("addHeartbeatWithTimeIntervalSinceSeriesStartDate:precededByGap:completion:")]
[Async]
void AddHeartbeat (double timeInterval, bool precededByGap, HKHeartbeatSeriesBuilderCompletionHandler completion);
[Export ("addMetadata:completion:")]
[Async]
void AddMetadata (NSDictionary<NSString, NSObject> metadata, HKHeartbeatSeriesBuilderCompletionHandler completion);
[Export ("finishSeriesWithCompletion:")]
[Async]
void FinishSeries (Action<HKHeartbeatSeriesSample, NSError> completion);
}
delegate void HKHeartbeatSeriesQueryDataHandler (HKHeartbeatSeriesQuery query, double timeSinceSeriesStart, bool precededByGap, bool done, NSError error);
[Watch (6,0), iOS (13,0)]
[BaseType (typeof (HKQuery))]
interface HKHeartbeatSeriesQuery
{
[Export ("initWithHeartbeatSeries:dataHandler:")]
[DesignatedInitializer]
IntPtr Constructor (HKHeartbeatSeriesSample heartbeatSeries, HKHeartbeatSeriesQueryDataHandler dataHandler);
}
}

Просмотреть файл

@ -287,6 +287,8 @@ namespace Introspection {
case "ARSkeleton2D": // Conformance not in headers
case "ARCollaborationData": // Conformance not in headers
case "UIFontPickerViewControllerConfiguration": // Conformance not in headers
case "HKAudiogramSample": // Conformance not in headers
case "HKAudiogramSensitivityPoint": // Conformance not in headers
return true;
#if __WATCHOS__
case "CLKComplicationTemplate":
@ -512,6 +514,7 @@ namespace Introspection {
case "ARSkeleton2D": // Conformance not in headers
case "ARCollaborationData": // Conformance not in headers
case "UIFontPickerViewControllerConfiguration": // Conformance not in headers
case "HKAudiogramSensitivityPoint": // Conformance not in headers
return true;
#if __WATCHOS__
case "CLKComplicationTemplate":
@ -659,6 +662,9 @@ namespace Introspection {
case "HMAction":
case "HMCharacteristicWriteAction":
case "MLPredictionOptions":
case "HKCumulativeQuantitySample": // Conformance not in headers
case "HKDiscreteQuantitySample": // Conformance not in headers
case "HKAudiogramSample": // Conformance not in headers
return true;
}
break;

Просмотреть файл

@ -48,6 +48,11 @@ namespace MonoTouchFixtures.HealthKit {
if (!TestRuntime.CheckXcodeVersion (10, 2))
continue;
break;
case HKCategoryTypeIdentifier.AudioExposureEvent:
case HKCategoryTypeIdentifier.ToothbrushingEvent:
if (!TestRuntime.CheckXcodeVersion (11, 0))
continue;
break;
default:
if (!TestRuntime.CheckXcodeVersion (7, 0))
continue;

Просмотреть файл

@ -67,6 +67,12 @@ namespace MonoTouchFixtures.HealthKit {
if (!TestRuntime.CheckXcodeVersion (9, 2))
continue;
break;
case HKQuantityTypeIdentifier.AppleStandTime:
case HKQuantityTypeIdentifier.EnvironmentalAudioExposure:
case HKQuantityTypeIdentifier.HeadphoneAudioExposure:
if (!TestRuntime.CheckXcodeVersion(11, 0))
continue;
break;
}
try {

Просмотреть файл

@ -0,0 +1,2 @@
## type was marked as available in 13.0 - but doesn't exist https://github.com/xamarin/maccore/issues/1899
!missing-field! HKCharacteristicTypeIdentifierActivityMoveMode not bound

Просмотреть файл

@ -1,67 +0,0 @@
!deprecated-attribute-missing! HKCumulativeQuantitySeriesSample missing a [Deprecated] attribute
!deprecated-attribute-missing! HKQuantitySeriesSampleQuery::initWithSample:quantityHandler: missing a [Deprecated] attribute
!extra-designated-initializer! HKQuantitySeriesSampleQuery::initWithSample:quantityHandler: is incorrectly decorated with an [DesignatedInitializer] attribute
!missing-enum! HKCategoryValueAudioExposureEvent not bound
!missing-field! HKCategoryTypeIdentifierAudioExposureEvent not bound
!missing-field! HKCategoryTypeIdentifierToothbrushingEvent not bound
!missing-field! HKCharacteristicTypeIdentifierActivityMoveMode not bound
!missing-field! HKDataTypeIdentifierHeartbeatSeries not bound
!missing-field! HKMetadataKeyAudioExposureLevel not bound
!missing-field! HKMetadataKeyAverageMETs not bound
!missing-field! HKPredicateKeyPathAverage not bound
!missing-field! HKPredicateKeyPathCount not bound
!missing-field! HKPredicateKeyPathMax not bound
!missing-field! HKPredicateKeyPathMin not bound
!missing-field! HKPredicateKeyPathMostRecent not bound
!missing-field! HKPredicateKeyPathMostRecentDuration not bound
!missing-field! HKPredicateKeyPathMostRecentEndDate not bound
!missing-field! HKPredicateKeyPathMostRecentStartDate not bound
!missing-field! HKQuantityTypeIdentifierAppleStandTime not bound
!missing-field! HKQuantityTypeIdentifierEnvironmentalAudioExposure not bound
!missing-field! HKQuantityTypeIdentifierHeadphoneAudioExposure not bound
!missing-selector! +HKAudiogramSample::audiogramSampleWithSensitivityPoints:startDate:endDate:metadata: not bound
!missing-selector! +HKAudiogramSensitivityPoint::sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error: not bound
!missing-selector! +HKHeartbeatSeriesBuilder::maximumCount not bound
!missing-selector! +HKObjectType::audiogramSampleType not bound
!missing-selector! +HKSeriesType::heartbeatSeriesType not bound
!missing-selector! +HKUnit::decibelAWeightedSoundHKUnitLevelUnit not bound
!missing-selector! +HKUnit::decibelHearingLevelUnit not bound
!missing-selector! +HKUnit::hertzUnit not bound
!missing-selector! +HKUnit::hertzUnitWithMetricPrefix: not bound
!missing-selector! HKAudiogramSample::sensitivityPoints not bound
!missing-selector! HKAudiogramSensitivityPoint::frequency not bound
!missing-selector! HKAudiogramSensitivityPoint::leftEarSensitivity not bound
!missing-selector! HKAudiogramSensitivityPoint::rightEarSensitivity not bound
!missing-selector! HKCumulativeQuantitySample::sumQuantity not bound
!missing-selector! HKDiscreteQuantitySample::averageQuantity not bound
!missing-selector! HKDiscreteQuantitySample::maximumQuantity not bound
!missing-selector! HKDiscreteQuantitySample::minimumQuantity not bound
!missing-selector! HKDiscreteQuantitySample::mostRecentQuantity not bound
!missing-selector! HKDiscreteQuantitySample::mostRecentQuantityDateInterval not bound
!missing-selector! HKHeartbeatSeriesBuilder::addHeartbeatWithTimeIntervalSinceSeriesStartDate:precededByGap:completion: not bound
!missing-selector! HKHeartbeatSeriesBuilder::addMetadata:completion: not bound
!missing-selector! HKHeartbeatSeriesBuilder::finishSeriesWithCompletion: not bound
!missing-selector! HKHeartbeatSeriesBuilder::initWithHealthStore:device:startDate: not bound
!missing-selector! HKHeartbeatSeriesQuery::initWithHeartbeatSeries:dataHandler: not bound
!missing-selector! HKQuantitySeriesSampleBuilder::finishSeriesWithMetadata:endDate:completion: not bound
!missing-selector! HKQuantitySeriesSampleBuilder::insertQuantity:dateInterval:error: not bound
!missing-selector! HKQuantitySeriesSampleQuery::includeSample not bound
!missing-selector! HKQuantitySeriesSampleQuery::initWithQuantityType:predicate:quantityHandler: not bound
!missing-selector! HKQuantitySeriesSampleQuery::orderByQuantitySampleStartDate not bound
!missing-selector! HKQuantitySeriesSampleQuery::setIncludeSample: not bound
!missing-selector! HKQuantitySeriesSampleQuery::setOrderByQuantitySampleStartDate: not bound
!missing-selector! HKSampleType::isMaximumDurationRestricted not bound
!missing-selector! HKSampleType::isMinimumDurationRestricted not bound
!missing-selector! HKSampleType::maximumAllowedDuration not bound
!missing-selector! HKSampleType::minimumAllowedDuration not bound
!missing-selector! HKStatistics::duration not bound
!missing-selector! HKStatistics::durationForSource: not bound
!missing-type! HKAudiogramSample not bound
!missing-type! HKAudiogramSampleType not bound
!missing-type! HKAudiogramSensitivityPoint not bound
!missing-type! HKCumulativeQuantitySample not bound
!missing-type! HKDiscreteQuantitySample not bound
!missing-type! HKHeartbeatSeriesBuilder not bound
!missing-type! HKHeartbeatSeriesQuery not bound
!missing-type! HKHeartbeatSeriesSample not bound
!wrong-base-type! HKCumulativeQuantitySeriesSample expected HKCumulativeQuantitySample actual HKQuantitySample

Просмотреть файл

@ -18,3 +18,6 @@
## type was marked as available in 3.0 - but it's now iOS 11 only (even if members are marked with 10.0)
!unknown-type! HKCDADocument bound
## type was marked as available in 6.0 - but doesn't exist https://github.com/xamarin/maccore/issues/1899
!missing-field! HKCharacteristicTypeIdentifierActivityMoveMode not bound

Просмотреть файл

@ -1,67 +0,0 @@
!deprecated-attribute-missing! HKCumulativeQuantitySeriesSample missing a [Deprecated] attribute
!deprecated-attribute-missing! HKQuantitySeriesSampleQuery::initWithSample:quantityHandler: missing a [Deprecated] attribute
!extra-designated-initializer! HKQuantitySeriesSampleQuery::initWithSample:quantityHandler: is incorrectly decorated with an [DesignatedInitializer] attribute
!missing-enum! HKCategoryValueAudioExposureEvent not bound
!missing-field! HKCategoryTypeIdentifierAudioExposureEvent not bound
!missing-field! HKCategoryTypeIdentifierToothbrushingEvent not bound
!missing-field! HKCharacteristicTypeIdentifierActivityMoveMode not bound
!missing-field! HKDataTypeIdentifierHeartbeatSeries not bound
!missing-field! HKMetadataKeyAudioExposureLevel not bound
!missing-field! HKMetadataKeyAverageMETs not bound
!missing-field! HKPredicateKeyPathAverage not bound
!missing-field! HKPredicateKeyPathCount not bound
!missing-field! HKPredicateKeyPathMax not bound
!missing-field! HKPredicateKeyPathMin not bound
!missing-field! HKPredicateKeyPathMostRecent not bound
!missing-field! HKPredicateKeyPathMostRecentDuration not bound
!missing-field! HKPredicateKeyPathMostRecentEndDate not bound
!missing-field! HKPredicateKeyPathMostRecentStartDate not bound
!missing-field! HKQuantityTypeIdentifierAppleStandTime not bound
!missing-field! HKQuantityTypeIdentifierEnvironmentalAudioExposure not bound
!missing-field! HKQuantityTypeIdentifierHeadphoneAudioExposure not bound
!missing-selector! +HKAudiogramSample::audiogramSampleWithSensitivityPoints:startDate:endDate:metadata: not bound
!missing-selector! +HKAudiogramSensitivityPoint::sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error: not bound
!missing-selector! +HKHeartbeatSeriesBuilder::maximumCount not bound
!missing-selector! +HKObjectType::audiogramSampleType not bound
!missing-selector! +HKSeriesType::heartbeatSeriesType not bound
!missing-selector! +HKUnit::decibelAWeightedSoundHKUnitLevelUnit not bound
!missing-selector! +HKUnit::decibelHearingLevelUnit not bound
!missing-selector! +HKUnit::hertzUnit not bound
!missing-selector! +HKUnit::hertzUnitWithMetricPrefix: not bound
!missing-selector! HKAudiogramSample::sensitivityPoints not bound
!missing-selector! HKAudiogramSensitivityPoint::frequency not bound
!missing-selector! HKAudiogramSensitivityPoint::leftEarSensitivity not bound
!missing-selector! HKAudiogramSensitivityPoint::rightEarSensitivity not bound
!missing-selector! HKCumulativeQuantitySample::sumQuantity not bound
!missing-selector! HKDiscreteQuantitySample::averageQuantity not bound
!missing-selector! HKDiscreteQuantitySample::maximumQuantity not bound
!missing-selector! HKDiscreteQuantitySample::minimumQuantity not bound
!missing-selector! HKDiscreteQuantitySample::mostRecentQuantity not bound
!missing-selector! HKDiscreteQuantitySample::mostRecentQuantityDateInterval not bound
!missing-selector! HKHeartbeatSeriesBuilder::addHeartbeatWithTimeIntervalSinceSeriesStartDate:precededByGap:completion: not bound
!missing-selector! HKHeartbeatSeriesBuilder::addMetadata:completion: not bound
!missing-selector! HKHeartbeatSeriesBuilder::finishSeriesWithCompletion: not bound
!missing-selector! HKHeartbeatSeriesBuilder::initWithHealthStore:device:startDate: not bound
!missing-selector! HKHeartbeatSeriesQuery::initWithHeartbeatSeries:dataHandler: not bound
!missing-selector! HKQuantitySeriesSampleBuilder::finishSeriesWithMetadata:endDate:completion: not bound
!missing-selector! HKQuantitySeriesSampleBuilder::insertQuantity:dateInterval:error: not bound
!missing-selector! HKQuantitySeriesSampleQuery::includeSample not bound
!missing-selector! HKQuantitySeriesSampleQuery::initWithQuantityType:predicate:quantityHandler: not bound
!missing-selector! HKQuantitySeriesSampleQuery::orderByQuantitySampleStartDate not bound
!missing-selector! HKQuantitySeriesSampleQuery::setIncludeSample: not bound
!missing-selector! HKQuantitySeriesSampleQuery::setOrderByQuantitySampleStartDate: not bound
!missing-selector! HKSampleType::isMaximumDurationRestricted not bound
!missing-selector! HKSampleType::isMinimumDurationRestricted not bound
!missing-selector! HKSampleType::maximumAllowedDuration not bound
!missing-selector! HKSampleType::minimumAllowedDuration not bound
!missing-selector! HKStatistics::duration not bound
!missing-selector! HKStatistics::durationForSource: not bound
!missing-type! HKAudiogramSample not bound
!missing-type! HKAudiogramSampleType not bound
!missing-type! HKAudiogramSensitivityPoint not bound
!missing-type! HKCumulativeQuantitySample not bound
!missing-type! HKDiscreteQuantitySample not bound
!missing-type! HKHeartbeatSeriesBuilder not bound
!missing-type! HKHeartbeatSeriesQuery not bound
!missing-type! HKHeartbeatSeriesSample not bound
!wrong-base-type! HKCumulativeQuantitySeriesSample expected HKCumulativeQuantitySample actual HKQuantitySample