use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKObjectType;
);
unsafe impl Send for HKObjectType {}
unsafe impl Sync for HKObjectType {}
extern_conformance!(
unsafe impl NSCoding for HKObjectType {}
);
extern_conformance!(
unsafe impl NSCopying for HKObjectType {}
);
unsafe impl CopyingHelper for HKObjectType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKObjectType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKObjectType {}
);
impl HKObjectType {
extern_methods!(
#[unsafe(method(identifier))]
#[unsafe(method_family = none)]
pub unsafe fn identifier(&self) -> Retained<NSString>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[cfg(feature = "HKTypeIdentifiers")]
#[unsafe(method(quantityTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn quantityTypeForIdentifier(
identifier: &HKQuantityTypeIdentifier,
) -> Option<Retained<HKQuantityType>>;
#[cfg(feature = "HKTypeIdentifiers")]
#[unsafe(method(categoryTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn categoryTypeForIdentifier(
identifier: &HKCategoryTypeIdentifier,
) -> Option<Retained<HKCategoryType>>;
#[cfg(feature = "HKTypeIdentifiers")]
#[unsafe(method(characteristicTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn characteristicTypeForIdentifier(
identifier: &HKCharacteristicTypeIdentifier,
) -> Option<Retained<HKCharacteristicType>>;
#[cfg(feature = "HKTypeIdentifiers")]
#[unsafe(method(correlationTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn correlationTypeForIdentifier(
identifier: &HKCorrelationTypeIdentifier,
) -> Option<Retained<HKCorrelationType>>;
#[cfg(feature = "HKTypeIdentifiers")]
#[unsafe(method(documentTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn documentTypeForIdentifier(
identifier: &HKDocumentTypeIdentifier,
) -> Option<Retained<HKDocumentType>>;
#[cfg(feature = "HKTypeIdentifiers")]
#[unsafe(method(scoredAssessmentTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn scoredAssessmentTypeForIdentifier(
identifier: &HKScoredAssessmentTypeIdentifier,
) -> Option<Retained<HKScoredAssessmentType>>;
#[unsafe(method(seriesTypeForIdentifier:))]
#[unsafe(method_family = none)]
pub unsafe fn seriesTypeForIdentifier(
identifier: &NSString,
) -> Option<Retained<HKSeriesType>>;
#[unsafe(method(workoutType))]
#[unsafe(method_family = none)]
pub unsafe fn workoutType() -> Retained<HKWorkoutType>;
#[unsafe(method(activitySummaryType))]
#[unsafe(method_family = none)]
pub unsafe fn activitySummaryType() -> Retained<HKActivitySummaryType>;
#[unsafe(method(audiogramSampleType))]
#[unsafe(method_family = none)]
pub unsafe fn audiogramSampleType() -> Retained<HKAudiogramSampleType>;
#[unsafe(method(electrocardiogramType))]
#[unsafe(method_family = none)]
pub unsafe fn electrocardiogramType() -> Retained<HKElectrocardiogramType>;
#[unsafe(method(medicationDoseEventType))]
#[unsafe(method_family = none)]
pub unsafe fn medicationDoseEventType() -> Retained<HKMedicationDoseEventType>;
#[unsafe(method(visionPrescriptionType))]
#[unsafe(method_family = none)]
pub unsafe fn visionPrescriptionType() -> Retained<HKPrescriptionType>;
#[unsafe(method(stateOfMindType))]
#[unsafe(method_family = none)]
pub unsafe fn stateOfMindType() -> Retained<HKStateOfMindType>;
#[unsafe(method(userAnnotatedMedicationType))]
#[unsafe(method_family = none)]
pub unsafe fn userAnnotatedMedicationType() -> Retained<HKUserAnnotatedMedicationType>;
#[unsafe(method(requiresPerObjectAuthorization))]
#[unsafe(method_family = none)]
pub unsafe fn requiresPerObjectAuthorization(&self) -> bool;
);
}
impl HKObjectType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKCharacteristicType;
);
unsafe impl Send for HKCharacteristicType {}
unsafe impl Sync for HKCharacteristicType {}
extern_conformance!(
unsafe impl NSCoding for HKCharacteristicType {}
);
extern_conformance!(
unsafe impl NSCopying for HKCharacteristicType {}
);
unsafe impl CopyingHelper for HKCharacteristicType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKCharacteristicType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKCharacteristicType {}
);
impl HKCharacteristicType {
extern_methods!();
}
impl HKCharacteristicType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKCharacteristicType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKSampleType;
);
unsafe impl Send for HKSampleType {}
unsafe impl Sync for HKSampleType {}
extern_conformance!(
unsafe impl NSCoding for HKSampleType {}
);
extern_conformance!(
unsafe impl NSCopying for HKSampleType {}
);
unsafe impl CopyingHelper for HKSampleType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKSampleType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKSampleType {}
);
impl HKSampleType {
extern_methods!(
#[unsafe(method(isMaximumDurationRestricted))]
#[unsafe(method_family = none)]
pub unsafe fn isMaximumDurationRestricted(&self) -> bool;
#[unsafe(method(maximumAllowedDuration))]
#[unsafe(method_family = none)]
pub unsafe fn maximumAllowedDuration(&self) -> NSTimeInterval;
#[unsafe(method(isMinimumDurationRestricted))]
#[unsafe(method_family = none)]
pub unsafe fn isMinimumDurationRestricted(&self) -> bool;
#[unsafe(method(minimumAllowedDuration))]
#[unsafe(method_family = none)]
pub unsafe fn minimumAllowedDuration(&self) -> NSTimeInterval;
#[unsafe(method(allowsRecalibrationForEstimates))]
#[unsafe(method_family = none)]
pub unsafe fn allowsRecalibrationForEstimates(&self) -> bool;
);
}
impl HKSampleType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKSampleType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKCategoryType;
);
unsafe impl Send for HKCategoryType {}
unsafe impl Sync for HKCategoryType {}
extern_conformance!(
unsafe impl NSCoding for HKCategoryType {}
);
extern_conformance!(
unsafe impl NSCopying for HKCategoryType {}
);
unsafe impl CopyingHelper for HKCategoryType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKCategoryType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKCategoryType {}
);
impl HKCategoryType {
extern_methods!();
}
impl HKCategoryType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKCategoryType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKCorrelationType;
);
unsafe impl Send for HKCorrelationType {}
unsafe impl Sync for HKCorrelationType {}
extern_conformance!(
unsafe impl NSCoding for HKCorrelationType {}
);
extern_conformance!(
unsafe impl NSCopying for HKCorrelationType {}
);
unsafe impl CopyingHelper for HKCorrelationType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKCorrelationType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKCorrelationType {}
);
impl HKCorrelationType {
extern_methods!();
}
impl HKCorrelationType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKCorrelationType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKDocumentType;
);
unsafe impl Send for HKDocumentType {}
unsafe impl Sync for HKDocumentType {}
extern_conformance!(
unsafe impl NSCoding for HKDocumentType {}
);
extern_conformance!(
unsafe impl NSCopying for HKDocumentType {}
);
unsafe impl CopyingHelper for HKDocumentType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKDocumentType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKDocumentType {}
);
impl HKDocumentType {
extern_methods!();
}
impl HKDocumentType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKDocumentType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKQuantityType;
);
unsafe impl Send for HKQuantityType {}
unsafe impl Sync for HKQuantityType {}
extern_conformance!(
unsafe impl NSCoding for HKQuantityType {}
);
extern_conformance!(
unsafe impl NSCopying for HKQuantityType {}
);
unsafe impl CopyingHelper for HKQuantityType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKQuantityType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKQuantityType {}
);
impl HKQuantityType {
extern_methods!(
#[cfg(feature = "HKQuantityAggregationStyle")]
#[unsafe(method(aggregationStyle))]
#[unsafe(method_family = none)]
pub unsafe fn aggregationStyle(&self) -> HKQuantityAggregationStyle;
#[cfg(feature = "HKUnit")]
#[unsafe(method(isCompatibleWithUnit:))]
#[unsafe(method_family = none)]
pub unsafe fn isCompatibleWithUnit(&self, unit: &HKUnit) -> bool;
);
}
impl HKQuantityType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKQuantityType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKWorkoutType;
);
unsafe impl Send for HKWorkoutType {}
unsafe impl Sync for HKWorkoutType {}
extern_conformance!(
unsafe impl NSCoding for HKWorkoutType {}
);
extern_conformance!(
unsafe impl NSCopying for HKWorkoutType {}
);
unsafe impl CopyingHelper for HKWorkoutType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKWorkoutType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKWorkoutType {}
);
impl HKWorkoutType {
extern_methods!();
}
impl HKWorkoutType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKWorkoutType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKSeriesType;
);
unsafe impl Send for HKSeriesType {}
unsafe impl Sync for HKSeriesType {}
extern_conformance!(
unsafe impl NSCoding for HKSeriesType {}
);
extern_conformance!(
unsafe impl NSCopying for HKSeriesType {}
);
unsafe impl CopyingHelper for HKSeriesType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKSeriesType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKSeriesType {}
);
impl HKSeriesType {
extern_methods!(
#[unsafe(method(workoutRouteType))]
#[unsafe(method_family = none)]
pub unsafe fn workoutRouteType() -> Retained<Self>;
#[unsafe(method(heartbeatSeriesType))]
#[unsafe(method_family = none)]
pub unsafe fn heartbeatSeriesType() -> Retained<Self>;
);
}
impl HKSeriesType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKSeriesType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKActivitySummaryType;
);
unsafe impl Send for HKActivitySummaryType {}
unsafe impl Sync for HKActivitySummaryType {}
extern_conformance!(
unsafe impl NSCoding for HKActivitySummaryType {}
);
extern_conformance!(
unsafe impl NSCopying for HKActivitySummaryType {}
);
unsafe impl CopyingHelper for HKActivitySummaryType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKActivitySummaryType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKActivitySummaryType {}
);
impl HKActivitySummaryType {
extern_methods!();
}
impl HKActivitySummaryType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKActivitySummaryType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKAudiogramSampleType;
);
unsafe impl Send for HKAudiogramSampleType {}
unsafe impl Sync for HKAudiogramSampleType {}
extern_conformance!(
unsafe impl NSCoding for HKAudiogramSampleType {}
);
extern_conformance!(
unsafe impl NSCopying for HKAudiogramSampleType {}
);
unsafe impl CopyingHelper for HKAudiogramSampleType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKAudiogramSampleType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKAudiogramSampleType {}
);
impl HKAudiogramSampleType {
extern_methods!();
}
impl HKAudiogramSampleType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKAudiogramSampleType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKElectrocardiogramType;
);
unsafe impl Send for HKElectrocardiogramType {}
unsafe impl Sync for HKElectrocardiogramType {}
extern_conformance!(
unsafe impl NSCoding for HKElectrocardiogramType {}
);
extern_conformance!(
unsafe impl NSCopying for HKElectrocardiogramType {}
);
unsafe impl CopyingHelper for HKElectrocardiogramType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKElectrocardiogramType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKElectrocardiogramType {}
);
impl HKElectrocardiogramType {
extern_methods!();
}
impl HKElectrocardiogramType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKElectrocardiogramType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKMedicationDoseEventType;
);
unsafe impl Send for HKMedicationDoseEventType {}
unsafe impl Sync for HKMedicationDoseEventType {}
extern_conformance!(
unsafe impl NSCoding for HKMedicationDoseEventType {}
);
extern_conformance!(
unsafe impl NSCopying for HKMedicationDoseEventType {}
);
unsafe impl CopyingHelper for HKMedicationDoseEventType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKMedicationDoseEventType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKMedicationDoseEventType {}
);
impl HKMedicationDoseEventType {
extern_methods!();
}
impl HKMedicationDoseEventType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKMedicationDoseEventType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKPrescriptionType;
);
unsafe impl Send for HKPrescriptionType {}
unsafe impl Sync for HKPrescriptionType {}
extern_conformance!(
unsafe impl NSCoding for HKPrescriptionType {}
);
extern_conformance!(
unsafe impl NSCopying for HKPrescriptionType {}
);
unsafe impl CopyingHelper for HKPrescriptionType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKPrescriptionType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKPrescriptionType {}
);
impl HKPrescriptionType {
extern_methods!();
}
impl HKPrescriptionType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKPrescriptionType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKScoredAssessmentType;
);
unsafe impl Send for HKScoredAssessmentType {}
unsafe impl Sync for HKScoredAssessmentType {}
extern_conformance!(
unsafe impl NSCoding for HKScoredAssessmentType {}
);
extern_conformance!(
unsafe impl NSCopying for HKScoredAssessmentType {}
);
unsafe impl CopyingHelper for HKScoredAssessmentType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKScoredAssessmentType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKScoredAssessmentType {}
);
impl HKScoredAssessmentType {
extern_methods!();
}
impl HKScoredAssessmentType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKScoredAssessmentType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKSampleType, HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKStateOfMindType;
);
unsafe impl Send for HKStateOfMindType {}
unsafe impl Sync for HKStateOfMindType {}
extern_conformance!(
unsafe impl NSCoding for HKStateOfMindType {}
);
extern_conformance!(
unsafe impl NSCopying for HKStateOfMindType {}
);
unsafe impl CopyingHelper for HKStateOfMindType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKStateOfMindType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKStateOfMindType {}
);
impl HKStateOfMindType {
extern_methods!();
}
impl HKStateOfMindType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKStateOfMindType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(HKObjectType, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HKUserAnnotatedMedicationType;
);
unsafe impl Send for HKUserAnnotatedMedicationType {}
unsafe impl Sync for HKUserAnnotatedMedicationType {}
extern_conformance!(
unsafe impl NSCoding for HKUserAnnotatedMedicationType {}
);
extern_conformance!(
unsafe impl NSCopying for HKUserAnnotatedMedicationType {}
);
unsafe impl CopyingHelper for HKUserAnnotatedMedicationType {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for HKUserAnnotatedMedicationType {}
);
extern_conformance!(
unsafe impl NSSecureCoding for HKUserAnnotatedMedicationType {}
);
impl HKUserAnnotatedMedicationType {
extern_methods!();
}
impl HKUserAnnotatedMedicationType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl HKUserAnnotatedMedicationType {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}