Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public enum _ABPropertyType : uint
- {
- ErrorInProperty = 0,
- StringProperty = 1,
- IntegerProperty = 2,
- RealProperty = 3,
- DateProperty = 4,
- ArrayProperty = 5,
- DictionaryProperty = 6,
- DataProperty = 7,
- DateComponentsProperty = 8,
- MultiStringProperty = 256 | StringProperty,
- MultiIntegerProperty = 256 | IntegerProperty,
- MultiRealProperty = 256 | RealProperty,
- MultiDateProperty = 256 | DateProperty,
- MultiArrayProperty = 256 | ArrayProperty,
- MultiDictionaryProperty = 256 | DictionaryProperty,
- MultiDataProperty = 256 | DataProperty,
- MultiDateComponentsProperty = 256 | DateComponentsProperty
- }
- public enum _ABSearchComparison : uint
- {
- Equal,
- NotEqual,
- LessThan,
- LessThanOrEqual,
- GreaterThan,
- GreaterThanOrEqual,
- EqualCaseInsensitive,
- ContainsSubString,
- ContainsSubStringCaseInsensitive,
- PrefixMatch,
- PrefixMatchCaseInsensitive,
- BitsInBitFieldMatch,
- DoesNotContainSubString,
- DoesNotContainSubStringCaseInsensitive,
- NotEqualCaseInsensitive,
- SuffixMatch,
- SuffixMatchCaseInsensitive,
- WithinIntervalAroundToday,
- WithinIntervalAroundTodayYearless,
- NotWithinIntervalAroundToday,
- NotWithinIntervalAroundTodayYearless,
- WithinIntervalFromToday,
- WithinIntervalFromTodayYearless,
- NotWithinIntervalFromToday,
- NotWithinIntervalFromTodayYearless
- }
- public enum _ABSearchConjunction : uint
- {
- And,
- Or
- }
- [Static]
- [Verify (ConstantsInterfaceAssociation)]
- partial interface Constants
- {
- // extern NSString *const kABUIDProperty;
- [Field ("kABUIDProperty")]
- NSString kABUIDProperty { get; }
- // extern NSString *const kABCreationDateProperty;
- [Field ("kABCreationDateProperty")]
- NSString kABCreationDateProperty { get; }
- // extern NSString *const kABModificationDateProperty;
- [Field ("kABModificationDateProperty")]
- NSString kABModificationDateProperty { get; }
- // extern NSString *const kABFirstNameProperty;
- [Field ("kABFirstNameProperty")]
- NSString kABFirstNameProperty { get; }
- // extern NSString *const kABLastNameProperty;
- [Field ("kABLastNameProperty")]
- NSString kABLastNameProperty { get; }
- // extern NSString *const kABFirstNamePhoneticProperty;
- [Field ("kABFirstNamePhoneticProperty")]
- NSString kABFirstNamePhoneticProperty { get; }
- // extern NSString *const kABLastNamePhoneticProperty;
- [Field ("kABLastNamePhoneticProperty")]
- NSString kABLastNamePhoneticProperty { get; }
- // extern NSString *const kABNicknameProperty;
- [Field ("kABNicknameProperty")]
- NSString kABNicknameProperty { get; }
- // extern NSString *const kABMaidenNameProperty;
- [Field ("kABMaidenNameProperty")]
- NSString kABMaidenNameProperty { get; }
- // extern NSString *const kABBirthdayProperty;
- [Field ("kABBirthdayProperty")]
- NSString kABBirthdayProperty { get; }
- // extern NSString *const kABBirthdayComponentsProperty __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABBirthdayComponentsProperty")]
- NSString kABBirthdayComponentsProperty { get; }
- // extern NSString *const kABAlternateBirthdayComponentsProperty;
- [Field ("kABAlternateBirthdayComponentsProperty")]
- NSString kABAlternateBirthdayComponentsProperty { get; }
- // extern NSString *const kABOrganizationProperty;
- [Field ("kABOrganizationProperty")]
- NSString kABOrganizationProperty { get; }
- // extern NSString *const kABOrganizationPhoneticProperty;
- [Field ("kABOrganizationPhoneticProperty")]
- NSString kABOrganizationPhoneticProperty { get; }
- // extern NSString *const kABJobTitleProperty;
- [Field ("kABJobTitleProperty")]
- NSString kABJobTitleProperty { get; }
- // extern NSString *const kABHomePageProperty;
- [Field ("kABHomePageProperty")]
- NSString kABHomePageProperty { get; }
- // extern NSString *const kABURLsProperty __attribute__((availability(macos, introduced=10.4)));
- [Mac (10, 4)]
- [Field ("kABURLsProperty")]
- NSString kABURLsProperty { get; }
- // extern NSString *const kABHomePageLabel __attribute__((availability(macos, introduced=10.4)));
- [Mac (10, 4)]
- [Field ("kABHomePageLabel")]
- NSString kABHomePageLabel { get; }
- // extern NSString *const kABCalendarURIsProperty __attribute__((availability(macos, introduced=10.5)));
- [Mac (10, 5)]
- [Field ("kABCalendarURIsProperty")]
- NSString kABCalendarURIsProperty { get; }
- // extern NSString *const kABEmailProperty;
- [Field ("kABEmailProperty")]
- NSString kABEmailProperty { get; }
- // extern NSString *const kABEmailWorkLabel;
- [Field ("kABEmailWorkLabel")]
- NSString kABEmailWorkLabel { get; }
- // extern NSString *const kABEmailHomeLabel;
- [Field ("kABEmailHomeLabel")]
- NSString kABEmailHomeLabel { get; }
- // extern NSString *const kABEmailMobileMeLabel;
- [Field ("kABEmailMobileMeLabel")]
- NSString kABEmailMobileMeLabel { get; }
- // extern NSString *const kABAddressProperty;
- [Field ("kABAddressProperty")]
- NSString kABAddressProperty { get; }
- // extern NSString *const kABAddressStreetKey;
- [Field ("kABAddressStreetKey")]
- NSString kABAddressStreetKey { get; }
- // extern NSString *const kABAddressCityKey;
- [Field ("kABAddressCityKey")]
- NSString kABAddressCityKey { get; }
- // extern NSString *const kABAddressStateKey;
- [Field ("kABAddressStateKey")]
- NSString kABAddressStateKey { get; }
- // extern NSString *const kABAddressZIPKey;
- [Field ("kABAddressZIPKey")]
- NSString kABAddressZIPKey { get; }
- // extern NSString *const kABAddressCountryKey;
- [Field ("kABAddressCountryKey")]
- NSString kABAddressCountryKey { get; }
- // extern NSString *const kABAddressCountryCodeKey;
- [Field ("kABAddressCountryCodeKey")]
- NSString kABAddressCountryCodeKey { get; }
- // extern NSString *const kABAddressHomeLabel;
- [Field ("kABAddressHomeLabel")]
- NSString kABAddressHomeLabel { get; }
- // extern NSString *const kABAddressWorkLabel;
- [Field ("kABAddressWorkLabel")]
- NSString kABAddressWorkLabel { get; }
- // extern NSString *const kABOtherDatesProperty __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABOtherDatesProperty")]
- NSString kABOtherDatesProperty { get; }
- // extern NSString *const kABOtherDateComponentsProperty __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABOtherDateComponentsProperty")]
- NSString kABOtherDateComponentsProperty { get; }
- // extern NSString *const kABAnniversaryLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABAnniversaryLabel")]
- NSString kABAnniversaryLabel { get; }
- // extern NSString *const kABRelatedNamesProperty __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABRelatedNamesProperty")]
- NSString kABRelatedNamesProperty { get; }
- // extern NSString *const kABFatherLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABFatherLabel")]
- NSString kABFatherLabel { get; }
- // extern NSString *const kABMotherLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABMotherLabel")]
- NSString kABMotherLabel { get; }
- // extern NSString *const kABParentLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABParentLabel")]
- NSString kABParentLabel { get; }
- // extern NSString *const kABBrotherLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABBrotherLabel")]
- NSString kABBrotherLabel { get; }
- // extern NSString *const kABSisterLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABSisterLabel")]
- NSString kABSisterLabel { get; }
- // extern NSString *const kABChildLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABChildLabel")]
- NSString kABChildLabel { get; }
- // extern NSString *const kABFriendLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABFriendLabel")]
- NSString kABFriendLabel { get; }
- // extern NSString *const kABSpouseLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABSpouseLabel")]
- NSString kABSpouseLabel { get; }
- // extern NSString *const kABPartnerLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABPartnerLabel")]
- NSString kABPartnerLabel { get; }
- // extern NSString *const kABAssistantLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABAssistantLabel")]
- NSString kABAssistantLabel { get; }
- // extern NSString *const kABManagerLabel __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABManagerLabel")]
- NSString kABManagerLabel { get; }
- // extern NSString *const kABDepartmentProperty __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABDepartmentProperty")]
- NSString kABDepartmentProperty { get; }
- // extern NSString *const kABPersonFlags __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABPersonFlags")]
- NSString kABPersonFlags { get; }
- // extern NSString *const kABPhoneProperty;
- [Field ("kABPhoneProperty")]
- NSString kABPhoneProperty { get; }
- // extern NSString *const kABPhoneWorkLabel;
- [Field ("kABPhoneWorkLabel")]
- NSString kABPhoneWorkLabel { get; }
- // extern NSString *const kABPhoneHomeLabel;
- [Field ("kABPhoneHomeLabel")]
- NSString kABPhoneHomeLabel { get; }
- // extern NSString *const kABPhoneiPhoneLabel;
- [Field ("kABPhoneiPhoneLabel")]
- NSString kABPhoneiPhoneLabel { get; }
- // extern NSString *const kABPhoneMobileLabel;
- [Field ("kABPhoneMobileLabel")]
- NSString kABPhoneMobileLabel { get; }
- // extern NSString *const kABPhoneMainLabel;
- [Field ("kABPhoneMainLabel")]
- NSString kABPhoneMainLabel { get; }
- // extern NSString *const kABPhoneHomeFAXLabel;
- [Field ("kABPhoneHomeFAXLabel")]
- NSString kABPhoneHomeFAXLabel { get; }
- // extern NSString *const kABPhoneWorkFAXLabel;
- [Field ("kABPhoneWorkFAXLabel")]
- NSString kABPhoneWorkFAXLabel { get; }
- // extern NSString *const kABPhonePagerLabel;
- [Field ("kABPhonePagerLabel")]
- NSString kABPhonePagerLabel { get; }
- // extern NSString *const kABAIMInstantProperty __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABAIMInstantProperty")]
- NSString kABAIMInstantProperty { get; }
- // extern NSString *const kABAIMWorkLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABAIMWorkLabel")]
- NSString kABAIMWorkLabel { get; }
- // extern NSString *const kABAIMHomeLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABAIMHomeLabel")]
- NSString kABAIMHomeLabel { get; }
- // extern NSString *const kABAIMMobileMeLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABAIMMobileMeLabel")]
- NSString kABAIMMobileMeLabel { get; }
- // extern NSString *const kABJabberInstantProperty __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABJabberInstantProperty")]
- NSString kABJabberInstantProperty { get; }
- // extern NSString *const kABJabberWorkLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABJabberWorkLabel")]
- NSString kABJabberWorkLabel { get; }
- // extern NSString *const kABJabberHomeLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABJabberHomeLabel")]
- NSString kABJabberHomeLabel { get; }
- // extern NSString *const kABMSNInstantProperty __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABMSNInstantProperty")]
- NSString kABMSNInstantProperty { get; }
- // extern NSString *const kABMSNWorkLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABMSNWorkLabel")]
- NSString kABMSNWorkLabel { get; }
- // extern NSString *const kABMSNHomeLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABMSNHomeLabel")]
- NSString kABMSNHomeLabel { get; }
- // extern NSString *const kABYahooInstantProperty __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABYahooInstantProperty")]
- NSString kABYahooInstantProperty { get; }
- // extern NSString *const kABYahooWorkLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABYahooWorkLabel")]
- NSString kABYahooWorkLabel { get; }
- // extern NSString *const kABYahooHomeLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABYahooHomeLabel")]
- NSString kABYahooHomeLabel { get; }
- // extern NSString *const kABICQInstantProperty __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABICQInstantProperty")]
- NSString kABICQInstantProperty { get; }
- // extern NSString *const kABICQWorkLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABICQWorkLabel")]
- NSString kABICQWorkLabel { get; }
- // extern NSString *const kABICQHomeLabel __attribute__((availability(macos, introduced=10.0, deprecated=10.7)));
- [Introduced (PlatformName.MacOSX, 10, 0)]
- [Deprecated (PlatformName.MacOSX, 10, 7)]
- [Field ("kABICQHomeLabel")]
- NSString kABICQHomeLabel { get; }
- // extern NSString *const kABInstantMessageProperty __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageProperty")]
- NSString kABInstantMessageProperty { get; }
- // extern NSString *const kABInstantMessageUsernameKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageUsernameKey")]
- NSString kABInstantMessageUsernameKey { get; }
- // extern NSString *const kABInstantMessageServiceKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceKey")]
- NSString kABInstantMessageServiceKey { get; }
- // extern NSString *const kABInstantMessageServiceAIM __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceAIM")]
- NSString kABInstantMessageServiceAIM { get; }
- // extern NSString *const kABInstantMessageServiceFacebook __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceFacebook")]
- NSString kABInstantMessageServiceFacebook { get; }
- // extern NSString *const kABInstantMessageServiceGaduGadu __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceGaduGadu")]
- NSString kABInstantMessageServiceGaduGadu { get; }
- // extern NSString *const kABInstantMessageServiceGoogleTalk __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceGoogleTalk")]
- NSString kABInstantMessageServiceGoogleTalk { get; }
- // extern NSString *const kABInstantMessageServiceICQ __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceICQ")]
- NSString kABInstantMessageServiceICQ { get; }
- // extern NSString *const kABInstantMessageServiceJabber __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceJabber")]
- NSString kABInstantMessageServiceJabber { get; }
- // extern NSString *const kABInstantMessageServiceMSN __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceMSN")]
- NSString kABInstantMessageServiceMSN { get; }
- // extern NSString *const kABInstantMessageServiceQQ __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceQQ")]
- NSString kABInstantMessageServiceQQ { get; }
- // extern NSString *const kABInstantMessageServiceSkype __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceSkype")]
- NSString kABInstantMessageServiceSkype { get; }
- // extern NSString *const kABInstantMessageServiceYahoo __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABInstantMessageServiceYahoo")]
- NSString kABInstantMessageServiceYahoo { get; }
- // extern NSString *const kABSocialProfileProperty __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileProperty")]
- NSString kABSocialProfileProperty { get; }
- // extern NSString *const kABSocialProfileURLKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileURLKey")]
- NSString kABSocialProfileURLKey { get; }
- // extern NSString *const kABSocialProfileUsernameKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileUsernameKey")]
- NSString kABSocialProfileUsernameKey { get; }
- // extern NSString *const kABSocialProfileUserIdentifierKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileUserIdentifierKey")]
- NSString kABSocialProfileUserIdentifierKey { get; }
- // extern NSString *const kABSocialProfileServiceKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileServiceKey")]
- NSString kABSocialProfileServiceKey { get; }
- // extern NSString *const kABSocialProfileServiceTwitter __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileServiceTwitter")]
- NSString kABSocialProfileServiceTwitter { get; }
- // extern NSString *const kABSocialProfileServiceFacebook __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileServiceFacebook")]
- NSString kABSocialProfileServiceFacebook { get; }
- // extern NSString *const kABSocialProfileServiceLinkedIn __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileServiceLinkedIn")]
- NSString kABSocialProfileServiceLinkedIn { get; }
- // extern NSString *const kABSocialProfileServiceFlickr __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileServiceFlickr")]
- NSString kABSocialProfileServiceFlickr { get; }
- // extern NSString *const kABSocialProfileServiceMySpace __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABSocialProfileServiceMySpace")]
- NSString kABSocialProfileServiceMySpace { get; }
- // extern NSString *const kABSocialProfileServiceSinaWeibo __attribute__((availability(macos, introduced=10.8)));
- [Mac (10, 8)]
- [Field ("kABSocialProfileServiceSinaWeibo")]
- NSString kABSocialProfileServiceSinaWeibo { get; }
- // extern NSString *const kABSocialProfileServiceTencentWeibo __attribute__((availability(macos, introduced=10.9)));
- [Mac (10, 9)]
- [Field ("kABSocialProfileServiceTencentWeibo")]
- NSString kABSocialProfileServiceTencentWeibo { get; }
- // extern NSString *const kABSocialProfileServiceYelp __attribute__((availability(macos, introduced=10.9)));
- [Mac (10, 9)]
- [Field ("kABSocialProfileServiceYelp")]
- NSString kABSocialProfileServiceYelp { get; }
- // extern NSString *const kABNoteProperty;
- [Field ("kABNoteProperty")]
- NSString kABNoteProperty { get; }
- // extern NSString *const kABMiddleNameProperty;
- [Field ("kABMiddleNameProperty")]
- NSString kABMiddleNameProperty { get; }
- // extern NSString *const kABMiddleNamePhoneticProperty;
- [Field ("kABMiddleNamePhoneticProperty")]
- NSString kABMiddleNamePhoneticProperty { get; }
- // extern NSString *const kABTitleProperty;
- [Field ("kABTitleProperty")]
- NSString kABTitleProperty { get; }
- // extern NSString *const kABSuffixProperty;
- [Field ("kABSuffixProperty")]
- NSString kABSuffixProperty { get; }
- // extern NSString *const kABGroupNameProperty;
- [Field ("kABGroupNameProperty")]
- NSString kABGroupNameProperty { get; }
- // extern NSString *const kABWorkLabel;
- [Field ("kABWorkLabel")]
- NSString kABWorkLabel { get; }
- // extern NSString *const kABHomeLabel;
- [Field ("kABHomeLabel")]
- NSString kABHomeLabel { get; }
- // extern NSString *const kABOtherLabel;
- [Field ("kABOtherLabel")]
- NSString kABOtherLabel { get; }
- // extern NSString *const kABMobileMeLabel __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("kABMobileMeLabel")]
- NSString kABMobileMeLabel { get; }
- // extern NSString *const kABDatabaseChangedNotification;
- [Field ("kABDatabaseChangedNotification")]
- NSString kABDatabaseChangedNotification { get; }
- // extern NSString *const kABDatabaseChangedExternallyNotification;
- [Field ("kABDatabaseChangedExternallyNotification")]
- NSString kABDatabaseChangedExternallyNotification { get; }
- // extern NSString *const kABInsertedRecords __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABInsertedRecords")]
- NSString kABInsertedRecords { get; }
- // extern NSString *const kABUpdatedRecords __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABUpdatedRecords")]
- NSString kABUpdatedRecords { get; }
- // extern NSString *const kABDeletedRecords __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("kABDeletedRecords")]
- NSString kABDeletedRecords { get; }
- }
- static class CFunctions
- {
- // extern NSString * ABLocalizedPropertyOrLabel (NSString *propertyOrLabel);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern NSString ABLocalizedPropertyOrLabel (NSString propertyOrLabel);
- // extern ABAddressBookRef ABGetSharedAddressBook ();
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABAddressBookRef* ABGetSharedAddressBook ();
- // extern CFArrayRef ABCopyArrayOfMatchingRecords (ABAddressBookRef addressBook, ABSearchElementRef search);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABCopyArrayOfMatchingRecords (ABAddressBookRef* addressBook, ABSearchElementRef* search);
- // extern _Bool ABSave (ABAddressBookRef addressBook);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABSave (ABAddressBookRef* addressBook);
- // extern _Bool ABHasUnsavedChanges (ABAddressBookRef addressBook);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABHasUnsavedChanges (ABAddressBookRef* addressBook);
- // extern ABPersonRef ABGetMe (ABAddressBookRef addressBook);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABPersonRef* ABGetMe (ABAddressBookRef* addressBook);
- // extern void ABSetMe (ABAddressBookRef addressBook, ABPersonRef moi);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABSetMe (ABAddressBookRef* addressBook, ABPersonRef* moi);
- // extern CFStringRef ABCopyRecordTypeFromUniqueId (ABAddressBookRef addressBook, CFStringRef uniqueId) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABCopyRecordTypeFromUniqueId (ABAddressBookRef* addressBook, CFStringRef* uniqueId);
- // extern CFIndex ABAddPropertiesAndTypes (ABAddressBookRef addressBook, CFStringRef recordType, CFDictionaryRef propertiesAndTypes);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABAddPropertiesAndTypes (ABAddressBookRef* addressBook, CFStringRef* recordType, CFDictionaryRef* propertiesAndTypes);
- // extern CFIndex ABRemoveProperties (ABAddressBookRef addressBook, CFStringRef recordType, CFArrayRef properties);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABRemoveProperties (ABAddressBookRef* addressBook, CFStringRef* recordType, CFArrayRef* properties);
- // extern CFArrayRef ABCopyArrayOfPropertiesForRecordType (ABAddressBookRef addressBook, CFStringRef recordType);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABCopyArrayOfPropertiesForRecordType (ABAddressBookRef* addressBook, CFStringRef* recordType);
- // extern ABPropertyType ABTypeOfProperty (ABAddressBookRef addressBook, CFStringRef recordType, CFStringRef property);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABTypeOfProperty (ABAddressBookRef* addressBook, CFStringRef* recordType, CFStringRef* property);
- // extern ABRecordRef ABCopyRecordForUniqueId (ABAddressBookRef addressBook, CFStringRef uniqueId);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void* ABCopyRecordForUniqueId (ABAddressBookRef* addressBook, CFStringRef* uniqueId);
- // extern _Bool ABAddRecord (ABAddressBookRef addressBook, ABRecordRef record);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABAddRecord (ABAddressBookRef* addressBook, void* record);
- // extern _Bool ABRemoveRecord (ABAddressBookRef addressBook, ABRecordRef record);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABRemoveRecord (ABAddressBookRef* addressBook, void* record);
- // extern CFArrayRef ABCopyArrayOfAllPeople (ABAddressBookRef addressBook);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABCopyArrayOfAllPeople (ABAddressBookRef* addressBook);
- // extern CFArrayRef ABCopyArrayOfAllGroups (ABAddressBookRef addressBook);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABCopyArrayOfAllGroups (ABAddressBookRef* addressBook);
- // extern ABRecordRef ABRecordCreateCopy (ABRecordRef record) __attribute__((availability(macos, introduced=10.4)));
- [Mac (10,4)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void* ABRecordCreateCopy (void* record);
- // extern CFStringRef ABRecordCopyRecordType (ABRecordRef record);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABRecordCopyRecordType (void* record);
- // extern CFTypeRef ABRecordCopyValue (ABRecordRef record, CFStringRef property);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void* ABRecordCopyValue (void* record, CFStringRef* property);
- // extern _Bool ABRecordSetValue (ABRecordRef record, CFStringRef property, CFTypeRef value);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABRecordSetValue (void* record, CFStringRef* property, void* value);
- // extern _Bool ABRecordRemoveValue (ABRecordRef record, CFStringRef property);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABRecordRemoveValue (void* record, CFStringRef* property);
- // extern _Bool ABRecordIsReadOnly (ABRecordRef record) __attribute__((availability(macos, introduced=10.4)));
- [Mac (10,4)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABRecordIsReadOnly (void* record);
- // extern CFStringRef ABRecordCopyUniqueId (ABRecordRef record);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABRecordCopyUniqueId (void* record);
- // extern ABPersonRef ABPersonCreate ();
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABPersonRef* ABPersonCreate ();
- // extern ABPersonRef ABPersonCreateWithVCardRepresentation (CFDataRef vCard);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABPersonRef* ABPersonCreateWithVCardRepresentation (CFDataRef* vCard);
- // extern CFDataRef ABPersonCopyVCardRepresentation (ABPersonRef person);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFDataRef* ABPersonCopyVCardRepresentation (ABPersonRef* person);
- // extern CFArrayRef ABPersonCopyParentGroups (ABPersonRef person);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABPersonCopyParentGroups (ABPersonRef* person);
- // extern ABSearchElementRef ABPersonCreateSearchElement (CFStringRef property, CFStringRef label, CFStringRef key, CFTypeRef value, ABSearchComparison comparison);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABSearchElementRef* ABPersonCreateSearchElement (CFStringRef* property, CFStringRef* label, CFStringRef* key, void* value, nint comparison);
- // extern ABGroupRef ABGroupCreate ();
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABGroupRef* ABGroupCreate ();
- // extern CFArrayRef ABGroupCopyArrayOfAllMembers (ABGroupRef group);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABGroupCopyArrayOfAllMembers (ABGroupRef* group);
- // extern _Bool ABGroupAddMember (ABGroupRef group, ABPersonRef personToAdd);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABGroupAddMember (ABGroupRef* group, ABPersonRef* personToAdd);
- // extern _Bool ABGroupRemoveMember (ABGroupRef group, ABPersonRef personToRemove);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABGroupRemoveMember (ABGroupRef* group, ABPersonRef* personToRemove);
- // extern CFArrayRef ABGroupCopyArrayOfAllSubgroups (ABGroupRef group);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABGroupCopyArrayOfAllSubgroups (ABGroupRef* group);
- // extern _Bool ABGroupAddGroup (ABGroupRef group, ABGroupRef groupToAdd);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABGroupAddGroup (ABGroupRef* group, ABGroupRef* groupToAdd);
- // extern _Bool ABGroupRemoveGroup (ABGroupRef group, ABGroupRef groupToRemove);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABGroupRemoveGroup (ABGroupRef* group, ABGroupRef* groupToRemove);
- // extern CFArrayRef ABGroupCopyParentGroups (ABGroupRef group);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABGroupCopyParentGroups (ABGroupRef* group);
- // extern _Bool ABGroupSetDistributionIdentifier (ABGroupRef group, ABPersonRef person, CFStringRef property, CFStringRef identifier);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABGroupSetDistributionIdentifier (ABGroupRef* group, ABPersonRef* person, CFStringRef* property, CFStringRef* identifier);
- // extern CFStringRef ABGroupCopyDistributionIdentifier (ABGroupRef group, ABPersonRef person, CFStringRef property);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABGroupCopyDistributionIdentifier (ABGroupRef* group, ABPersonRef* person, CFStringRef* property);
- // extern ABSearchElementRef ABGroupCreateSearchElement (CFStringRef property, CFStringRef label, CFStringRef key, CFTypeRef value, ABSearchComparison comparison);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABSearchElementRef* ABGroupCreateSearchElement (CFStringRef* property, CFStringRef* label, CFStringRef* key, void* value, nint comparison);
- // extern ABSearchElementRef ABSearchElementCreateWithConjunction (ABSearchConjunction conjunction, CFArrayRef childrenSearchElement);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABSearchElementRef* ABSearchElementCreateWithConjunction (nint conjunction, CFArrayRef* childrenSearchElement);
- // extern _Bool ABSearchElementMatchesRecord (ABSearchElementRef searchElement, ABRecordRef record);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABSearchElementMatchesRecord (ABSearchElementRef* searchElement, void* record);
- // extern ABMultiValueRef ABMultiValueCreate ();
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABMultiValueRef* ABMultiValueCreate ();
- // extern CFIndex ABMultiValueCount (ABMultiValueRef multiValue);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABMultiValueCount (ABMultiValueRef* multiValue);
- // extern CFTypeRef ABMultiValueCopyValueAtIndex (ABMultiValueRef multiValue, CFIndex index);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void* ABMultiValueCopyValueAtIndex (ABMultiValueRef* multiValue, nint index);
- // extern CFStringRef ABMultiValueCopyLabelAtIndex (ABMultiValueRef multiValue, CFIndex index);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABMultiValueCopyLabelAtIndex (ABMultiValueRef* multiValue, nint index);
- // extern CFStringRef ABMultiValueCopyPrimaryIdentifier (ABMultiValueRef multiValue);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABMultiValueCopyPrimaryIdentifier (ABMultiValueRef* multiValue);
- // extern CFIndex ABMultiValueIndexForIdentifier (ABMultiValueRef multiValue, CFStringRef identifier);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABMultiValueIndexForIdentifier (ABMultiValueRef* multiValue, CFStringRef* identifier);
- // extern CFStringRef ABMultiValueCopyIdentifierAtIndex (ABMultiValueRef multiValue, CFIndex index);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABMultiValueCopyIdentifierAtIndex (ABMultiValueRef* multiValue, nint index);
- // extern ABPropertyType ABMultiValuePropertyType (ABMultiValueRef multiValue);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABMultiValuePropertyType (ABMultiValueRef* multiValue);
- // extern ABMultiValueRef ABMultiValueCreateCopy (ABMultiValueRef multiValue);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABMultiValueRef* ABMultiValueCreateCopy (ABMultiValueRef* multiValue);
- // extern ABMutableMultiValueRef ABMultiValueCreateMutable ();
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABMutableMultiValueRef* ABMultiValueCreateMutable ();
- // extern _Bool ABMultiValueAdd (ABMutableMultiValueRef multiValue, CFTypeRef value, CFStringRef label, CFStringRef *outIdentifier);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABMultiValueAdd (ABMutableMultiValueRef* multiValue, void* value, CFStringRef* label, CFStringRef** outIdentifier);
- // extern _Bool ABMultiValueInsert (ABMutableMultiValueRef multiValue, CFTypeRef value, CFStringRef label, CFIndex index, CFStringRef *outIdentifier);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABMultiValueInsert (ABMutableMultiValueRef* multiValue, void* value, CFStringRef* label, nint index, CFStringRef** outIdentifier);
- // extern _Bool ABMultiValueRemove (ABMutableMultiValueRef multiValue, CFIndex index);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABMultiValueRemove (ABMutableMultiValueRef* multiValue, nint index);
- // extern _Bool ABMultiValueReplaceValue (ABMutableMultiValueRef multiValue, CFTypeRef value, CFIndex index);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABMultiValueReplaceValue (ABMutableMultiValueRef* multiValue, void* value, nint index);
- // extern _Bool ABMultiValueReplaceLabel (ABMutableMultiValueRef multiValue, CFStringRef label, CFIndex index);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABMultiValueReplaceLabel (ABMutableMultiValueRef* multiValue, CFStringRef* label, nint index);
- // extern _Bool ABMultiValueSetPrimaryIdentifier (ABMutableMultiValueRef multiValue, CFStringRef identifier);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABMultiValueSetPrimaryIdentifier (ABMutableMultiValueRef* multiValue, CFStringRef* identifier);
- // extern ABMutableMultiValueRef ABMultiValueCreateMutableCopy (ABMultiValueRef multiValue);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABMutableMultiValueRef* ABMultiValueCreateMutableCopy (ABMultiValueRef* multiValue);
- // extern CFStringRef ABCopyLocalizedPropertyOrLabel (CFStringRef labelOrProperty);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABCopyLocalizedPropertyOrLabel (CFStringRef* labelOrProperty);
- // extern CFStringRef ABCreateFormattedAddressFromDictionary (ABAddressBookRef addressBook, CFDictionaryRef address) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABCreateFormattedAddressFromDictionary (ABAddressBookRef* addressBook, CFDictionaryRef* address);
- // extern CFStringRef ABCopyDefaultCountryCode (ABAddressBookRef addressBook) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABCopyDefaultCountryCode (ABAddressBookRef* addressBook);
- // extern _Bool ABPersonSetImageData (ABPersonRef person, CFDataRef imageData);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABPersonSetImageData (ABPersonRef* person, CFDataRef* imageData);
- // extern CFDataRef ABPersonCopyImageData (ABPersonRef person);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFDataRef* ABPersonCopyImageData (ABPersonRef* person);
- // extern CFIndex ABBeginLoadingImageDataForClient (ABPersonRef person, ABImageClientCallback callback, void *refcon);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe nint ABBeginLoadingImageDataForClient (ABPersonRef* person, ABImageClientCallback* callback, void* refcon);
- // extern void ABCancelLoadingImageDataForTag (CFIndex tag);
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern void ABCancelLoadingImageDataForTag (nint tag);
- // extern ABPickerRef ABPickerCreate () __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe ABPickerRef* ABPickerCreate ();
- // extern void ABPickerSetFrame (ABPickerRef inPicker, const HIRect *inFrame) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSetFrame (ABPickerRef* inPicker, HIRect* inFrame);
- // extern void ABPickerGetFrame (ABPickerRef inPicker, HIRect *outFrame) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerGetFrame (ABPickerRef* inPicker, HIRect* outFrame);
- // extern void ABPickerSetVisibility (ABPickerRef inPicker, _Bool visible) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSetVisibility (ABPickerRef* inPicker, bool visible);
- // extern _Bool ABPickerIsVisible (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe bool ABPickerIsVisible (ABPickerRef* inPicker);
- // extern ABPickerAttributes ABPickerGetAttributes (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe uint ABPickerGetAttributes (ABPickerRef* inPicker);
- // extern void ABPickerChangeAttributes (ABPickerRef inPicker, ABPickerAttributes inAttributesToSet, ABPickerAttributes inAttributesToClear) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerChangeAttributes (ABPickerRef* inPicker, uint inAttributesToSet, uint inAttributesToClear);
- // extern void ABPickerAddProperty (ABPickerRef inPicker, CFStringRef inProperty) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerAddProperty (ABPickerRef* inPicker, CFStringRef* inProperty);
- // extern void ABPickerRemoveProperty (ABPickerRef inPicker, CFStringRef inProperty) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerRemoveProperty (ABPickerRef* inPicker, CFStringRef* inProperty);
- // extern CFArrayRef ABPickerCopyProperties (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABPickerCopyProperties (ABPickerRef* inPicker);
- // extern void ABPickerSetColumnTitle (ABPickerRef inPicker, CFStringRef inTitle, CFStringRef inProperty) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSetColumnTitle (ABPickerRef* inPicker, CFStringRef* inTitle, CFStringRef* inProperty);
- // extern CFStringRef ABPickerCopyColumnTitle (ABPickerRef inPicker, CFStringRef inProperty) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABPickerCopyColumnTitle (ABPickerRef* inPicker, CFStringRef* inProperty);
- // extern void ABPickerSetDisplayedProperty (ABPickerRef inPicker, CFStringRef inProperty) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSetDisplayedProperty (ABPickerRef* inPicker, CFStringRef* inProperty);
- // extern CFStringRef ABPickerCopyDisplayedProperty (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFStringRef* ABPickerCopyDisplayedProperty (ABPickerRef* inPicker);
- // extern CFArrayRef ABPickerCopySelectedGroups (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABPickerCopySelectedGroups (ABPickerRef* inPicker);
- // extern CFArrayRef ABPickerCopySelectedRecords (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABPickerCopySelectedRecords (ABPickerRef* inPicker);
- // extern CFArrayRef ABPickerCopySelectedIdentifiers (ABPickerRef inPicker, ABPersonRef inPerson) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABPickerCopySelectedIdentifiers (ABPickerRef* inPicker, ABPersonRef* inPerson);
- // extern CFArrayRef ABPickerCopySelectedValues (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe CFArrayRef* ABPickerCopySelectedValues (ABPickerRef* inPicker);
- // extern void ABPickerSelectGroup (ABPickerRef inPicker, ABGroupRef inGroup, _Bool inExtendSelection) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSelectGroup (ABPickerRef* inPicker, ABGroupRef* inGroup, bool inExtendSelection);
- // extern void ABPickerSelectRecord (ABPickerRef inPicker, ABRecordRef inRecord, _Bool inExtendSelection) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSelectRecord (ABPickerRef* inPicker, void* inRecord, bool inExtendSelection);
- // extern void ABPickerSelectIdentifier (ABPickerRef inPicker, ABPersonRef inPerson, CFStringRef inIdentifier, _Bool inExtendSelection) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSelectIdentifier (ABPickerRef* inPicker, ABPersonRef* inPerson, CFStringRef* inIdentifier, bool inExtendSelection);
- // extern void ABPickerDeselectGroup (ABPickerRef inPicker, ABGroupRef inGroup) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerDeselectGroup (ABPickerRef* inPicker, ABGroupRef* inGroup);
- // extern void ABPickerDeselectRecord (ABPickerRef inPicker, ABRecordRef inRecord) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerDeselectRecord (ABPickerRef* inPicker, void* inRecord);
- // extern void ABPickerDeselectIdentifier (ABPickerRef inPicker, ABPersonRef inPerson, CFStringRef inIdentifier) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerDeselectIdentifier (ABPickerRef* inPicker, ABPersonRef* inPerson, CFStringRef* inIdentifier);
- // extern void ABPickerDeselectAll (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerDeselectAll (ABPickerRef* inPicker);
- // extern void ABPickerSetDelegate (ABPickerRef inPicker, EventTargetRef inDelegate) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSetDelegate (ABPickerRef* inPicker, EventTargetRef* inDelegate);
- // extern EventTargetRef ABPickerGetDelegate (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe EventTargetRef* ABPickerGetDelegate (ABPickerRef* inPicker);
- // extern void ABPickerClearSearchField (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerClearSearchField (ABPickerRef* inPicker);
- // extern void ABPickerEditInAddressBook (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerEditInAddressBook (ABPickerRef* inPicker);
- // extern void ABPickerSelectInAddressBook (ABPickerRef inPicker) __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [DllImport ("__Internal")]
- [Verify (PlatformInvoke)]
- static extern unsafe void ABPickerSelectInAddressBook (ABPickerRef* inPicker);
- }
- [Verify (InferredFromMemberPrefix)]
- public enum Ab : uint
- {
- AddRecordsError = 1001,
- RemoveRecordsError = 1002,
- PropertyValueValidationError = 1012,
- PropertyUnsupportedBySourceError = 1013,
- PropertyReadOnlyError = 1014
- }
- [Static]
- [Verify (ConstantsInterfaceAssociation)]
- partial interface Constants
- {
- // extern NSString * ABAddressBookErrorDomain __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("ABAddressBookErrorDomain")]
- NSString ABAddressBookErrorDomain { get; }
- // extern NSString * ABMultiValueIdentifiersErrorKey __attribute__((availability(macos, introduced=10.7)));
- [Mac (10, 7)]
- [Field ("ABMultiValueIdentifiersErrorKey")]
- NSString ABMultiValueIdentifiersErrorKey { get; }
- }
- // @interface ABAddressBook : NSObject
- [BaseType (typeof(NSObject))]
- interface ABAddressBook
- {
- // +(ABAddressBook *)sharedAddressBook;
- [Static]
- [Export ("sharedAddressBook")]
- [Verify (MethodToProperty)]
- ABAddressBook SharedAddressBook { get; }
- // +(ABAddressBook *)addressBook __attribute__((availability(macos, introduced=10.5)));
- [Mac (10, 5)]
- [Static]
- [Export ("addressBook")]
- [Verify (MethodToProperty)]
- ABAddressBook AddressBook { get; }
- // -(NSArray *)recordsMatchingSearchElement:(ABSearchElement *)search;
- [Export ("recordsMatchingSearchElement:")]
- [Verify (StronglyTypedNSArray)]
- NSObject[] RecordsMatchingSearchElement (ABSearchElement search);
- // -(BOOL)save;
- [Export ("save")]
- [Verify (MethodToProperty)]
- bool Save { get; }
- // -(BOOL)saveAndReturnError:(NSError **)error __attribute__((availability(macos, introduced=10.5)));
- [Mac (10,5)]
- [Export ("saveAndReturnError:")]
- bool SaveAndReturnError (out NSError error);
- // -(BOOL)hasUnsavedChanges;
- [Export ("hasUnsavedChanges")]
- [Verify (MethodToProperty)]
- bool HasUnsavedChanges { get; }
- // -(ABPerson *)me;
- // -(void)setMe:(ABPerson *)moi;
- [Export ("me")]
- [Verify (MethodToProperty)]
- ABPerson Me { get; set; }
- // -(ABRecord *)recordForUniqueId:(NSString *)uniqueId;
- [Export ("recordForUniqueId:")]
- ABRecord RecordForUniqueId (string uniqueId);
- // -(BOOL)addRecord:(ABRecord *)record error:(NSError **)error __attribute__((availability(macos, introduced=10.7)));
- [Mac (10,7)]
- [Export ("addRecord:error:")]
- bool AddRecord (ABRecord record, out NSError error);
- // -(BOOL)addRecord:(ABRecord *)record;
- [Export ("addRecord:")]
- bool AddRecord (ABRecord record);
- // -(BOOL)removeRecord:(ABRecord *)record error:(NSError **)error __attribute__((availability(macos, introduced=10.7)));
- [Mac (10,7)]
- [Export ("removeRecord:error:")]
- bool RemoveRecord (ABRecord record, out NSError error);
- // -(BOOL)removeRecord:(ABRecord *)record;
- [Export ("removeRecord:")]
- bool RemoveRecord (ABRecord record);
- // -(NSArray *)people;
- [Export ("people")]
- [Verify (StronglyTypedNSArray)]
- NSObject[] People ();
- // -(NSArray *)groups;
- [Export ("groups")]
- [Verify (StronglyTypedNSArray)]
- NSObject[] Groups ();
- // -(NSString *)recordClassFromUniqueId:(NSString *)uniqueId __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [Export ("recordClassFromUniqueId:")]
- string RecordClassFromUniqueId (string uniqueId);
- // -(NSAttributedString *)formattedAddressFromDictionary:(NSDictionary *)address __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [Export ("formattedAddressFromDictionary:")]
- NSAttributedString FormattedAddressFromDictionary (NSDictionary address);
- // -(NSString *)defaultCountryCode __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [Export ("defaultCountryCode")]
- string DefaultCountryCode ();
- // -(NSInteger)defaultNameOrdering __attribute__((availability(macos, introduced=10.3)));
- [Mac (10,3)]
- [Export ("defaultNameOrdering")]
- nint DefaultNameOrdering ();
- }
- [StructLayout (LayoutKind.Sequential)]
- public struct __ABBookflags
- {
- public uint hasUnsavedChanges;
- public uint readOnly;
- public uint importMe;
- public uint needConversion;
- public uint cleanedUp;
- public uint importTips;
- public uint restoreFromMetaData;
- public uint prefsNeedSync;
- public uint waitingForReset;
- public uint enforcesConstraints;
- public uint tracksAllSources;
- public uint _reserved;
- }
- // @interface ABRecord : NSObject
- [BaseType (typeof(NSObject))]
- interface ABRecord
- {
- // -(id)initWithAddressBook:(ABAddressBook *)addressBook __attribute__((availability(macos, introduced=10.5)));
- [Mac (10,5)]
- [Export ("initWithAddressBook:")]
- IntPtr Constructor (ABAddressBook addressBook);
- // -(id)valueForProperty:(NSString *)property;
- [Export ("valueForProperty:")]
- NSObject ValueForProperty (string property);
- // -(BOOL)setValue:(id)value forProperty:(NSString *)property error:(NSError **)error __attribute__((availability(macos, introduced=10.7)));
- [Mac (10,7)]
- [Export ("setValue:forProperty:error:")]
- bool SetValue (NSObject value, string property, out NSError error);
- // -(BOOL)setValue:(id)value forProperty:(NSString *)property;
- [Export ("setValue:forProperty:")]
- bool SetValue (NSObject value, string property);
- // -(BOOL)removeValueForProperty:(NSString *)property;
- [Export ("removeValueForProperty:")]
- bool RemoveValueForProperty (string property);
- // -(BOOL)isReadOnly __attribute__((availability(macos, introduced=10.4)));
- [Mac (10, 4)]
- [Export ("isReadOnly")]
- [Verify (MethodToProperty)]
- bool IsReadOnly { get; }
- }
- // @interface ABRecord_Convenience (ABRecord)
- [Category]
- [BaseType (typeof(ABRecord))]
- interface ABRecord_ABRecord_Convenience
- {
- // @property (readonly, copy) NSString * uniqueId;
- [Export ("uniqueId")]
- string UniqueId { get; }
- // @property (readonly, copy) NSString * displayName __attribute__((availability(macos, introduced=10.10)));
- [Mac (10, 10)]
- [Export ("displayName")]
- string DisplayName { get; }
- }
- // @interface ABGroup : ABRecord
- [BaseType (typeof(ABRecord))]
- interface ABGroup
- {
- // -(NSArray *)members;
- [Export ("members")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] Members { get; }
- // -(BOOL)addMember:(ABPerson *)person;
- [Export ("addMember:")]
- bool AddMember (ABPerson person);
- // -(BOOL)removeMember:(ABPerson *)person;
- [Export ("removeMember:")]
- bool RemoveMember (ABPerson person);
- // -(NSArray *)subgroups;
- [Export ("subgroups")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] Subgroups { get; }
- // -(BOOL)addSubgroup:(ABGroup *)group;
- [Export ("addSubgroup:")]
- bool AddSubgroup (ABGroup group);
- // -(BOOL)removeSubgroup:(ABGroup *)group;
- [Export ("removeSubgroup:")]
- bool RemoveSubgroup (ABGroup group);
- // -(NSArray *)parentGroups;
- [Export ("parentGroups")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] ParentGroups { get; }
- // -(BOOL)setDistributionIdentifier:(NSString *)identifier forProperty:(NSString *)property person:(ABPerson *)person;
- [Export ("setDistributionIdentifier:forProperty:person:")]
- bool SetDistributionIdentifier (string identifier, string property, ABPerson person);
- // -(NSString *)distributionIdentifierForProperty:(NSString *)property person:(ABPerson *)person;
- [Export ("distributionIdentifierForProperty:person:")]
- string DistributionIdentifierForProperty (string property, ABPerson person);
- }
- // @interface ABGroup_Properties (ABGroup)
- [Category]
- [BaseType (typeof(ABGroup))]
- interface ABGroup_ABGroup_Properties
- {
- // +(NSInteger)addPropertiesAndTypes:(NSDictionary *)properties;
- [Static]
- [Export ("addPropertiesAndTypes:")]
- nint AddPropertiesAndTypes (NSDictionary properties);
- // +(NSInteger)removeProperties:(NSArray *)properties;
- [Static]
- [Export ("removeProperties:")]
- [Verify (StronglyTypedNSArray)]
- nint RemoveProperties (NSObject[] properties);
- // +(NSArray *)properties;
- [Static]
- [Export ("properties")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] Properties { get; }
- // +(ABPropertyType)typeOfProperty:(NSString *)property;
- [Static]
- [Export ("typeOfProperty:")]
- nint TypeOfProperty (string property);
- }
- // @interface ABGroup_Searching (ABGroup)
- [Category]
- [BaseType (typeof(ABGroup))]
- interface ABGroup_ABGroup_Searching
- {
- // +(ABSearchElement *)searchElementForProperty:(NSString *)property label:(NSString *)label key:(NSString *)key value:(id)value comparison:(ABSearchComparison)comparison;
- [Static]
- [Export ("searchElementForProperty:label:key:value:comparison:")]
- ABSearchElement SearchElementForProperty (string property, string label, string key, NSObject value, nint comparison);
- }
- // @interface ABPerson : ABRecord
- [BaseType (typeof(ABRecord))]
- interface ABPerson
- {
- // -(NSArray *)parentGroups;
- [Export ("parentGroups")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] ParentGroups { get; }
- // -(NSArray *)linkedPeople __attribute__((availability(macos, introduced=10.8)));
- [Mac (10, 8)]
- [Export ("linkedPeople")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] LinkedPeople { get; }
- }
- // @interface ABPerson_Properties (ABPerson)
- [Category]
- [BaseType (typeof(ABPerson))]
- interface ABPerson_ABPerson_Properties
- {
- // +(NSInteger)addPropertiesAndTypes:(NSDictionary *)properties;
- [Static]
- [Export ("addPropertiesAndTypes:")]
- nint AddPropertiesAndTypes (NSDictionary properties);
- // +(NSInteger)removeProperties:(NSArray *)properties;
- [Static]
- [Export ("removeProperties:")]
- [Verify (StronglyTypedNSArray)]
- nint RemoveProperties (NSObject[] properties);
- // +(NSArray *)properties;
- [Static]
- [Export ("properties")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] Properties { get; }
- // +(ABPropertyType)typeOfProperty:(NSString *)property;
- [Static]
- [Export ("typeOfProperty:")]
- nint TypeOfProperty (string property);
- }
- // @interface ABPerson_Searching (ABPerson)
- [Category]
- [BaseType (typeof(ABPerson))]
- interface ABPerson_ABPerson_Searching
- {
- // +(ABSearchElement *)searchElementForProperty:(NSString *)property label:(NSString *)label key:(NSString *)key value:(id)value comparison:(ABSearchComparison)comparison;
- [Static]
- [Export ("searchElementForProperty:label:key:value:comparison:")]
- ABSearchElement SearchElementForProperty (string property, string label, string key, NSObject value, nint comparison);
- }
- // @interface ABPerson_vCard (ABPerson)
- [Category]
- [BaseType (typeof(ABPerson))]
- interface ABPerson_ABPerson_vCard
- {
- // -(id)initWithVCardRepresentation:(NSData *)vCardData;
- [Export ("initWithVCardRepresentation:")]
- IntPtr Constructor (NSData vCardData);
- // -(NSData *)vCardRepresentation;
- [Export ("vCardRepresentation")]
- [Verify (MethodToProperty)]
- NSData VCardRepresentation { get; }
- }
- // @protocol ABImageClient <NSObject>
- /*
- Check whether adding [Model] to this declaration is appropriate.
- [Model] is used to generate a C# class that implements this protocol,
- and might be useful for protocols that consumers are supposed to implement,
- since consumers can subclass the generated class instead of implementing
- the generated interface. If consumers are not supposed to implement this
- protocol, then [Model] is redundant and will generate code that will never
- be used.
- */[Protocol]
- [BaseType (typeof(NSObject))]
- interface ABImageClient
- {
- // @required -(void)consumeImageData:(NSData *)data forTag:(NSInteger)tag;
- [Abstract]
- [Export ("consumeImageData:forTag:")]
- void ForTag (NSData data, nint tag);
- }
- // @interface ABPersonImageAdditions (ABPerson)
- [Category]
- [BaseType (typeof(ABPerson))]
- interface ABPerson_ABPersonImageAdditions
- {
- // -(BOOL)setImageData:(NSData *)data;
- [Export ("setImageData:")]
- bool SetImageData (NSData data);
- // -(NSData *)imageData;
- [Export ("imageData")]
- [Verify (MethodToProperty)]
- NSData ImageData { get; }
- // -(NSInteger)beginLoadingImageDataForClient:(id<ABImageClient>)client;
- [Export ("beginLoadingImageDataForClient:")]
- nint BeginLoadingImageDataForClient (ABImageClient client);
- // +(void)cancelLoadingImageDataForTag:(NSInteger)tag;
- [Static]
- [Export ("cancelLoadingImageDataForTag:")]
- void CancelLoadingImageDataForTag (nint tag);
- }
- // @interface ABSearchElement : NSObject
- [BaseType (typeof(NSObject))]
- interface ABSearchElement
- {
- // +(ABSearchElement *)searchElementForConjunction:(ABSearchConjunction)conjuction children:(NSArray *)children;
- [Static]
- [Export ("searchElementForConjunction:children:")]
- [Verify (StronglyTypedNSArray)]
- ABSearchElement SearchElementForConjunction (nint conjuction, NSObject[] children);
- // -(BOOL)matchesRecord:(ABRecord *)record;
- [Export ("matchesRecord:")]
- bool MatchesRecord (ABRecord record);
- }
- // @interface ABMultiValue : NSObject <NSCopying, NSMutableCopying, NSFastEnumeration>
- [BaseType (typeof(NSObject))]
- interface ABMultiValue : INSCopying, INSMutableCopying, INSFastEnumeration
- {
- // -(NSUInteger)count;
- [Export ("count")]
- [Verify (MethodToProperty)]
- nuint Count { get; }
- // -(id)valueAtIndex:(NSUInteger)index;
- [Export ("valueAtIndex:")]
- NSObject ValueAtIndex (nuint index);
- // -(NSString *)labelAtIndex:(NSUInteger)index;
- [Export ("labelAtIndex:")]
- string LabelAtIndex (nuint index);
- // -(NSString *)identifierAtIndex:(NSUInteger)index;
- [Export ("identifierAtIndex:")]
- string IdentifierAtIndex (nuint index);
- // -(NSUInteger)indexForIdentifier:(NSString *)identifier;
- [Export ("indexForIdentifier:")]
- nuint IndexForIdentifier (string identifier);
- // -(NSString *)primaryIdentifier;
- [Export ("primaryIdentifier")]
- [Verify (MethodToProperty)]
- string PrimaryIdentifier { get; }
- // -(ABPropertyType)propertyType;
- [Export ("propertyType")]
- [Verify (MethodToProperty)]
- nint PropertyType { get; }
- // -(id)valueForIdentifier:(NSString *)identifier;
- [Export ("valueForIdentifier:")]
- NSObject ValueForIdentifier (string identifier);
- // -(id)labelForIdentifier:(NSString *)identifier;
- [Export ("labelForIdentifier:")]
- NSObject LabelForIdentifier (string identifier);
- }
- // @interface ABMutableMultiValue : ABMultiValue
- [BaseType (typeof(ABMultiValue))]
- interface ABMutableMultiValue
- {
- // -(NSString *)addValue:(id)value withLabel:(NSString *)label;
- [Export ("addValue:withLabel:")]
- string AddValue (NSObject value, string label);
- // -(NSString *)insertValue:(id)value withLabel:(NSString *)label atIndex:(NSUInteger)index;
- [Export ("insertValue:withLabel:atIndex:")]
- string InsertValue (NSObject value, string label, nuint index);
- // -(BOOL)removeValueAndLabelAtIndex:(NSUInteger)index;
- [Export ("removeValueAndLabelAtIndex:")]
- bool RemoveValueAndLabelAtIndex (nuint index);
- // -(BOOL)replaceValueAtIndex:(NSUInteger)index withValue:(id)value;
- [Export ("replaceValueAtIndex:withValue:")]
- bool ReplaceValueAtIndex (nuint index, NSObject value);
- // -(BOOL)replaceLabelAtIndex:(NSUInteger)index withLabel:(NSString *)label;
- [Export ("replaceLabelAtIndex:withLabel:")]
- bool ReplaceLabelAtIndex (nuint index, string label);
- // -(BOOL)setPrimaryIdentifier:(NSString *)identifier;
- [Export ("setPrimaryIdentifier:")]
- bool SetPrimaryIdentifier (string identifier);
- }
- // @interface ABActionDelegate (NSObject)
- [Category]
- [BaseType (typeof(NSObject))]
- interface NSObject_ABActionDelegate
- {
- // -(NSString *)actionProperty;
- [Export ("actionProperty")]
- [Verify (MethodToProperty)]
- string ActionProperty { get; }
- // -(NSString *)titleForPerson:(ABPerson *)person identifier:(NSString *)identifier;
- [Export ("titleForPerson:identifier:")]
- string TitleForPerson (ABPerson person, string identifier);
- // -(void)performActionForPerson:(ABPerson *)person identifier:(NSString *)identifier;
- [Export ("performActionForPerson:identifier:")]
- void PerformActionForPerson (ABPerson person, string identifier);
- // -(BOOL)shouldEnableActionForPerson:(ABPerson *)person identifier:(NSString *)identifier;
- [Export ("shouldEnableActionForPerson:identifier:")]
- bool ShouldEnableActionForPerson (ABPerson person, string identifier);
- }
- public enum ABPeoplePickerSelectionBehavior : uint
- {
- NoValueSelection = 0,
- SingleValueSelection = 1,
- MultipleValueSelection = 2
- }
- // @interface ABPeoplePickerView : NSView
- [Unavailable (PlatformName.MacCatalyst)]
- [Mac (10,3)]
- [Advice ("This API is not available when using UIKit on macOS.")]
- [BaseType (typeof(NSView))]
- interface ABPeoplePickerView
- {
- // @property (retain, nonatomic) NSView * accessoryView __attribute__((iboutlet));
- [Export ("accessoryView", ArgumentSemantic.Retain)]
- NSView AccessoryView { get; set; }
- // @property (assign, nonatomic) ABPeoplePickerSelectionBehavior valueSelectionBehavior;
- [Export ("valueSelectionBehavior", ArgumentSemantic.Assign)]
- ABPeoplePickerSelectionBehavior ValueSelectionBehavior { get; set; }
- // @property (assign, nonatomic) BOOL allowsGroupSelection;
- [Export ("allowsGroupSelection")]
- bool AllowsGroupSelection { get; set; }
- // @property (assign, nonatomic) BOOL allowsMultipleSelection;
- [Export ("allowsMultipleSelection")]
- bool AllowsMultipleSelection { get; set; }
- // -(void)addProperty:(NSString *)property;
- [Export ("addProperty:")]
- void AddProperty (string property);
- // -(void)removeProperty:(NSString *)property;
- [Export ("removeProperty:")]
- void RemoveProperty (string property);
- // -(NSArray *)properties;
- [Export ("properties")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] Properties { get; }
- // -(void)setColumnTitle:(NSString *)title forProperty:(NSString *)property;
- [Export ("setColumnTitle:forProperty:")]
- void SetColumnTitle (string title, string property);
- // -(NSString *)columnTitleForProperty:(NSString *)property;
- [Export ("columnTitleForProperty:")]
- string ColumnTitleForProperty (string property);
- // @property (retain, nonatomic) NSString * displayedProperty;
- [Export ("displayedProperty", ArgumentSemantic.Retain)]
- string DisplayedProperty { get; set; }
- // @property (retain, nonatomic) NSString * autosaveName;
- [Export ("autosaveName", ArgumentSemantic.Retain)]
- string AutosaveName { get; set; }
- // @property (readonly) NSArray * selectedGroups;
- [Export ("selectedGroups")]
- [Verify (StronglyTypedNSArray)]
- NSObject[] SelectedGroups { get; }
- // @property (readonly) NSArray * selectedRecords;
- [Export ("selectedRecords")]
- [Verify (StronglyTypedNSArray)]
- NSObject[] SelectedRecords { get; }
- // -(NSArray *)selectedIdentifiersForPerson:(ABPerson *)person;
- [Export ("selectedIdentifiersForPerson:")]
- [Verify (StronglyTypedNSArray)]
- NSObject[] SelectedIdentifiersForPerson (ABPerson person);
- // -(void)selectGroup:(ABGroup *)group byExtendingSelection:(BOOL)extend;
- [Export ("selectGroup:byExtendingSelection:")]
- void SelectGroup (ABGroup group, bool extend);
- // -(void)selectRecord:(ABRecord *)record byExtendingSelection:(BOOL)extend;
- [Export ("selectRecord:byExtendingSelection:")]
- void SelectRecord (ABRecord record, bool extend);
- // -(void)selectIdentifier:(NSString *)identifier forPerson:(ABPerson *)person byExtendingSelection:(BOOL)extend;
- [Export ("selectIdentifier:forPerson:byExtendingSelection:")]
- void SelectIdentifier (string identifier, ABPerson person, bool extend);
- // -(void)deselectGroup:(ABGroup *)group;
- [Export ("deselectGroup:")]
- void DeselectGroup (ABGroup group);
- // -(void)deselectRecord:(ABRecord *)record;
- [Export ("deselectRecord:")]
- void DeselectRecord (ABRecord record);
- // -(void)deselectIdentifier:(NSString *)identifier forPerson:(ABPerson *)person;
- [Export ("deselectIdentifier:forPerson:")]
- void DeselectIdentifier (string identifier, ABPerson person);
- // -(void)deselectAll:(id)sender;
- [Export ("deselectAll:")]
- void DeselectAll (NSObject sender);
- // -(void)clearSearchField:(id)sender;
- [Export ("clearSearchField:")]
- void ClearSearchField (NSObject sender);
- // @property (assign, nonatomic) id target;
- [Export ("target", ArgumentSemantic.Assign)]
- NSObject Target { get; set; }
- // @property (assign, nonatomic) SEL groupDoubleAction;
- [Export ("groupDoubleAction", ArgumentSemantic.Assign)]
- Selector GroupDoubleAction { get; set; }
- // @property (assign, nonatomic) SEL nameDoubleAction;
- [Export ("nameDoubleAction", ArgumentSemantic.Assign)]
- Selector NameDoubleAction { get; set; }
- }
- [Static]
- [Verify (ConstantsInterfaceAssociation)]
- partial interface Constants
- {
- // extern NSString *const ABPeoplePickerGroupSelectionDidChangeNotification __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("ABPeoplePickerGroupSelectionDidChangeNotification")]
- NSString ABPeoplePickerGroupSelectionDidChangeNotification { get; }
- // extern NSString *const ABPeoplePickerNameSelectionDidChangeNotification __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("ABPeoplePickerNameSelectionDidChangeNotification")]
- NSString ABPeoplePickerNameSelectionDidChangeNotification { get; }
- // extern NSString *const ABPeoplePickerValueSelectionDidChangeNotification __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("ABPeoplePickerValueSelectionDidChangeNotification")]
- NSString ABPeoplePickerValueSelectionDidChangeNotification { get; }
- // extern NSString *const ABPeoplePickerDisplayedPropertyDidChangeNotification __attribute__((availability(macos, introduced=10.3)));
- [Mac (10, 3)]
- [Field ("ABPeoplePickerDisplayedPropertyDidChangeNotification")]
- NSString ABPeoplePickerDisplayedPropertyDidChangeNotification { get; }
- }
- // @interface ABPeoplePickerConvenience (ABPeoplePickerView)
- [Category]
- [BaseType (typeof(ABPeoplePickerView))]
- interface ABPeoplePickerView_ABPeoplePickerConvenience
- {
- // -(NSArray *)selectedValues;
- [Export ("selectedValues")]
- [Verify (MethodToProperty), Verify (StronglyTypedNSArray)]
- NSObject[] SelectedValues { get; }
- // -(void)editInAddressBook:(id)sender;
- [Export ("editInAddressBook:")]
- void EditInAddressBook (NSObject sender);
- // -(void)selectInAddressBook:(id)sender;
- [Export ("selectInAddressBook:")]
- void SelectInAddressBook (NSObject sender);
- }
- // @interface ABPersonView : NSView
- [Unavailable (PlatformName.MacCatalyst)]
- [Mac (10,7)]
- [Advice ("This API is not available when using UIKit on macOS.")]
- [BaseType (typeof(NSView))]
- interface ABPersonView
- {
- // @property (assign) BOOL editing;
- [Export ("editing")]
- bool Editing { get; set; }
- // @property (readwrite, retain) ABPerson * person;
- [Export ("person", ArgumentSemantic.Retain)]
- ABPerson Person { get; set; }
- // @property (assign) BOOL shouldShowLinkedPeople __attribute__((availability(macos, introduced=10.8)));
- [Mac (10, 8)]
- [Export ("shouldShowLinkedPeople")]
- bool ShouldShowLinkedPeople { get; set; }
- }
- // @interface ABPersonPicker : NSObject
- [Unavailable (PlatformName.MacCatalyst)]
- [Mac (10,9)]
- [Advice ("This API is not available when using UIKit on macOS.")]
- [BaseType (typeof(NSObject))]
- interface ABPersonPicker
- {
- // @property (copy) NSArray * properties;
- [Export ("properties", ArgumentSemantic.Copy)]
- [Verify (StronglyTypedNSArray)]
- NSObject[] Properties { get; set; }
- [Wrap ("WeakDelegate")]
- ABPersonPickerDelegate Delegate { get; set; }
- // @property (assign) id<ABPersonPickerDelegate> delegate;
- [NullAllowed, Export ("delegate", ArgumentSemantic.Assign)]
- NSObject WeakDelegate { get; set; }
- // -(void)showRelativeToRect:(NSRect)positioningRect ofView:(NSView *)positioningView preferredEdge:(NSRectEdge)preferredEdge;
- [Export ("showRelativeToRect:ofView:preferredEdge:")]
- void ShowRelativeToRect (CGRect positioningRect, NSView positioningView, NSRectEdge preferredEdge);
- // -(void)close;
- [Export ("close")]
- void Close ();
- }
- // @protocol ABPersonPickerDelegate <NSObject>
- [Unavailable (PlatformName.MacCatalyst)]
- [Mac (10,9)]
- [Protocol, Model (AutoGeneratedName = true), Advice ("This API is not available when using UIKit on macOS.")]
- [BaseType (typeof(NSObject))]
- interface ABPersonPickerDelegate
- {
- // @required -(void)personPicker:(ABPersonPicker *)picker didChoosePerson:(ABPerson *)person property:(NSString *)property identifier:(NSString *)identifier;
- [Abstract]
- [Export ("personPicker:didChoosePerson:property:identifier:")]
- void PersonPicker (ABPersonPicker picker, ABPerson person, string property, string identifier);
- // @optional -(void)personPickerDidClose:(ABPersonPicker *)picker;
- [Export ("personPickerDidClose:")]
- void PersonPickerDidClose (ABPersonPicker picker);
- }
- [StructLayout (LayoutKind.Sequential)]
- public struct ABActionCallbacks
- {
- public nint version;
- public unsafe ABActionGetPropertyCallback* property;
- public unsafe ABActionCopyTitleCallback* title;
- public unsafe ABActionEnabledCallback* enabled;
- public unsafe ABActionSelectedCallback* selected;
- }
- [Verify (InferredFromMemberPrefix)]
- public enum kABPicker : uint
- {
- SingleValueSelection = 1 << 0,
- MultipleValueSelection = 1 << 1,
- AllowGroupSelection = 1 << 2,
- AllowMultipleSelection = 1 << 3
- }
- public enum : uint
- {
- EventClassABPeoplePicker = 1633841264
- }
- [Verify (InferredFromMemberPrefix)]
- public enum kEventABPeoplePicker : uint
- {
- GroupSelectionChanged = 1,
- NameSelectionChanged = 2,
- ValueSelectionChanged = 3,
- DisplayedPropertyChanged = 4,
- GroupDoubleClicked = 5,
- NameDoubleClicked = 6
- }
- public enum : uint
- {
- EventParamABPickerRef = 1633841264
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement