Next Page > Hide TOC

Address Book Data Types Reference

Framework
AddressBook/AddressBook.h
Declared in
ABPeoplePickerView.h
ABTypedefs.h

Overview

This chapter describes the data types and constants found in the Address Book framework.

Data Types

ABPropertyType

Defines the possible types of ABRecord properties.

enum _ABPropertyType {
   kABErrorInProperty           = 0x0,
   kABStringProperty            = 0x1,
   kABIntegerProperty           = 0x2,
   kABRealProperty              = 0x3,
   kABDateProperty              = 0x4,
   kABArrayProperty             = 0x5,
   kABDictionaryProperty        = 0x6,
   kABDataProperty              = 0x7,
   kABMultiStringProperty       = kABMultiValueMask | kABStringProperty,
   kABMultiIntegerProperty      = kABMultiValueMask | kABIntegerProperty,
   kABMultiRealProperty         = kABMultiValueMask | kABRealProperty,
   kABMultiDateProperty         = kABMultiValueMask | kABDateProperty,
   kABMultiArrayProperty        = kABMultiValueMask | kABArrayProperty,
   kABMultiDictionaryProperty   = kABMultiValueMask | kABDictionaryProperty,
   kABMultiDataProperty         = kABMultiValueMask | kABDataProperty
};
typedef CFIndex ABPropertyType;

Discussion

These constants are described in “Constants” in “ABRecord”.

Availability
Declared In
ABTypedefs.h

ABSearchComparison

Defines constants used to construct search elements.

enum _ABSearchComparison {
   kABEqual,
   kABNotEqual,
   kABLessThan,
   kABLessThanOrEqual,
   kABGreaterThan,
   kABGreaterThanOrEqual,
   kABEqualCaseInsensitive,
   kABContainsSubString,
   kABContainsSubStringCaseInsensitive,
   kABPrefixMatch,
   kABPrefixMatchCaseInsensitive,
   kABBitsInBitFieldMatch,
   kABDoesNotContainSubString,
   kABDoesNotContainSubStringCaseInsensitive,
   kABNotEqualCaseInsensitive,
   kABSuffixMatch,
   kABSuffixMatchCaseInsensitive,
   kABWithinIntervalAroundToday,
   kABWithinIntervalAroundTodayYearless,
   kABNotWithinIntervalAroundToday,
   kABNotWithinIntervalAroundTodayYearless,
   kABWithinIntervalFromToday,
   kABWithinIntervalFromTodayYearless,
   kABNotWithinIntervalFromToday,
   kABNotWithinIntervalFromTodayYearless
};
typedef CFIndex ABSearchComparison;

Discussion

These constants are described in “Constants” in “ABSearchElement”.

Availability
Declared In
ABTypedefs.h

ABSearchConjunction

Defines constants used to combine search elements.

enum _ABSearchConjunction {
   kABSearchAnd,
   kABSearchOr
};
typedef CFIndex ABSearchConjunction;

Discussion

These constants are described in “Constants” in “ABSearchElement”.

Availability
Declared In
ABTypedefs.h

ABPeoplePickerSelectionBehavior

typedef enum {
   ABNoValueSelection   = 0,
   ABSingleValueSelection   = 1,
   ABMultipleValueSelection = 2
} ABPeoplePickerSelectionBehavior;

Discussion

These constants are described in “Constants” in “ABPeoplePickerView”.

Availability
Declared In
ABPeoplePickerView.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-07-26)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.