// // CSPerson.h // CoreSpotlight // // Copyright © 2017 Apple. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN CS_CLASS_AVAILABLE(10_13, 9_0) CS_TVOS_UNAVAILABLE @interface CSPerson : NSObject - (instancetype)initWithDisplayName:(nullable NSString *)displayName handles:(NSArray *)handles handleIdentifier:(NSString *)handleIdentifier; @property (readonly,nullable) NSString *displayName; //An optional display name for displaying this recipient @property (readonly) NSArray *handles; //An array of contact handles, e.g. phone numbers @property (readonly) NSString *handleIdentifier; //A CNContactPropertyKey to identify the type of of handle, e.g. CNContactPhoneNumbersKey @property (copy,nullable) NSString *contactIdentifier; //If the property has already been resolved, the identifier for the Contact @end NS_ASSUME_NONNULL_END