Package apple.intents
Class INPerson
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.intents.INPerson
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,INSpeakable,NSObject
- Direct Known Subclasses:
INRestaurantGuest,INRideDriver
public class INPerson extends NSObject implements NSCopying, NSSecureCoding, INSpeakable
API-Since: 10.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedINPerson(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()@Nullable NSArray<? extends INPersonHandle>aliases()If your application has other representations for the person's handle, you can supply it for INInteraction donationstatic INPersonalloc()static INPersonallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@Nullable NSArray<?>alternativeSpeakableMatches()static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@Nullable java.lang.StringcontactIdentifier()Reference to this person, if present in the system's Contacts store@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)@Nullable java.lang.StringcustomIdentifier()This property can be set to the app's identifier for this person It is also used as the vocabulary identifier for this personstatic java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@NotNull java.lang.StringdisplayName()This will return either the displayName if non-nil, else the formatted nameComponents, else the handle, else an empty stringvoidencodeWithCoder(@NotNull NSCoder coder)@Nullable java.lang.Stringhandle()Deprecated.static longhash_static()@Nullable java.lang.Stringidentifier()Deprecated.@Nullable INImageimage()Returns an image for the person.INPersoninit()INPersoninitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERINPersoninitWithHandleDisplayNameContactIdentifier(@NotNull java.lang.String handle, @Nullable java.lang.String displayName, @Nullable java.lang.String contactIdentifier)Deprecated.INPersoninitWithHandleNameComponentsContactIdentifier(@NotNull java.lang.String handle, @NotNull NSPersonNameComponents nameComponents, @Nullable java.lang.String contactIdentifier)Deprecated.INPersoninitWithHandleNameComponentsDisplayNameImageContactIdentifier(@NotNull java.lang.String handle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier)Deprecated.INPersoninitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier(@NotNull INPersonHandle personHandle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier, @Nullable java.lang.String customIdentifier)INPersoninitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierAliasesSuggestionType(@NotNull INPersonHandle personHandle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier, @Nullable java.lang.String customIdentifier, @Nullable NSArray<? extends INPersonHandle> aliases, long suggestionType)INPersoninitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType(@NotNull INPersonHandle personHandle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier, @Nullable java.lang.String customIdentifier, boolean isContactSuggestion, long suggestionType)API-Since: 15.0INPersoninitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe(@NotNull INPersonHandle personHandle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier, @Nullable java.lang.String customIdentifier, boolean isMe)API-Since: 12.0INPersoninitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType(@NotNull INPersonHandle personHandle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier, @Nullable java.lang.String customIdentifier, boolean isMe, long suggestionType)API-Since: 15.0INPersoninitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship(@NotNull INPersonHandle personHandle, @Nullable NSPersonNameComponents nameComponents, @Nullable java.lang.String displayName, @Nullable INImage image, @Nullable java.lang.String contactIdentifier, @Nullable java.lang.String customIdentifier, @Nullable java.lang.String relationship)API-Since: 14.0static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisContactSuggestion()Indicates that the person is confirmed API-Since: 15.0booleanisMe()This property is set to YES when the user says things like "Search for messages from me", etc.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)@Nullable NSPersonNameComponentsnameComponents()Returns the person's name components if this was initialized with themstatic INPersonnew_objc()@Nullable INPersonHandlepersonHandle()The identity of the person in the application@Nullable java.lang.StringpronunciationHint()@Nullable java.lang.Stringrelationship()This person's relationship to the user API-Since: 10.2static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static voidsetVersion_static(long aVersion)@Nullable NSArray<? extends INPerson>siriMatches()This property is filled in with what Siri thinks are close matches to what the user said API-Since: 10.3@NotNull java.lang.StringspokenPhrase()longsuggestionType()What Contact property this INInteraction donation should be suggested as when this person is matched to a contact in the system's Contacts store.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static booleanuseStoredAccessor()Deprecated.static longversion_static()@Nullable java.lang.StringvocabularyIdentifier()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static INPerson alloc()
-
allocWithZone
public static INPerson allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static INPerson new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
aliases
@Nullable public @Nullable NSArray<? extends INPersonHandle> aliases()
If your application has other representations for the person's handle, you can supply it for INInteraction donation
-
contactIdentifier
@Nullable public @Nullable java.lang.String contactIdentifier()
Reference to this person, if present in the system's Contacts store
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
customIdentifier
@Nullable public @Nullable java.lang.String customIdentifier()
This property can be set to the app's identifier for this person It is also used as the vocabulary identifier for this person
-
displayName
@NotNull public @NotNull java.lang.String displayName()
This will return either the displayName if non-nil, else the formatted nameComponents, else the handle, else an empty string
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
handle
@Nullable @Deprecated public @Nullable java.lang.String handle()
Deprecated.The identity of the person in the application (e.g. email address, phone number, user handle, etc.) API-Since: 10.0 Deprecated-Since: 10.0 Deprecated-Message: Use personHandle instead
-
identifier
@Nullable @Deprecated public @Nullable java.lang.String identifier()
Deprecated.Description copied from interface:INSpeakableAPI-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: Please use vocabularyIdentifier- Specified by:
identifierin interfaceINSpeakable
-
image
@Nullable public @Nullable INImage image()
Returns an image for the person.
-
initWithCoder
public INPerson initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithHandleDisplayNameContactIdentifier
@Deprecated public INPerson initWithHandleDisplayNameContactIdentifier(@NotNull @NotNull java.lang.String handle, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable java.lang.String contactIdentifier)
Deprecated.Use this convenience initializer if the person's name is unknown API-Since: 10.0 Deprecated-Since: 10.0 Deprecated-Message: Use the designated initializer instead
-
initWithHandleNameComponentsContactIdentifier
@Deprecated public INPerson initWithHandleNameComponentsContactIdentifier(@NotNull @NotNull java.lang.String handle, @NotNull @NotNull NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String contactIdentifier)
Deprecated.This is the preferred convenience initializer if the app knows the name components of the person (e.g. given name, family name, etc). API-Since: 10.0 Deprecated-Since: 10.0 Deprecated-Message: Use the designated initializer instead
-
initWithHandleNameComponentsDisplayNameImageContactIdentifier
@Deprecated public INPerson initWithHandleNameComponentsDisplayNameImageContactIdentifier(@NotNull @NotNull java.lang.String handle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier)
Deprecated.API-Since: 10.0 Deprecated-Since: 10.0 Deprecated-Message: Use the designated initializer instead
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier
public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier(@NotNull @NotNull INPersonHandle personHandle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier, @Nullable @Nullable java.lang.String customIdentifier)
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierAliasesSuggestionType
public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierAliasesSuggestionType(@NotNull @NotNull INPersonHandle personHandle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier, @Nullable @Nullable java.lang.String customIdentifier, @Nullable @Nullable NSArray<? extends INPersonHandle> aliases, long suggestionType)
-
nameComponents
@Nullable public @Nullable NSPersonNameComponents nameComponents()
Returns the person's name components if this was initialized with them
-
personHandle
@Nullable public @Nullable INPersonHandle personHandle()
The identity of the person in the application
-
pronunciationHint
@Nullable public @Nullable java.lang.String pronunciationHint()
- Specified by:
pronunciationHintin interfaceINSpeakable
-
relationship
@Nullable public @Nullable java.lang.String relationship()
This person's relationship to the user API-Since: 10.2
-
spokenPhrase
@NotNull public @NotNull java.lang.String spokenPhrase()
- Specified by:
spokenPhrasein interfaceINSpeakable
-
suggestionType
public long suggestionType()
What Contact property this INInteraction donation should be suggested as when this person is matched to a contact in the system's Contacts store.
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
alternativeSpeakableMatches
@Nullable public @Nullable NSArray<?> alternativeSpeakableMatches()
- Specified by:
alternativeSpeakableMatchesin interfaceINSpeakable
-
isMe
public boolean isMe()
This property is set to YES when the user says things like "Search for messages from me", etc. API-Since: 11.0
-
siriMatches
@Nullable public @Nullable NSArray<? extends INPerson> siriMatches()
This property is filled in with what Siri thinks are close matches to what the user said API-Since: 10.3
-
vocabularyIdentifier
@Nullable public @Nullable java.lang.String vocabularyIdentifier()
- Specified by:
vocabularyIdentifierin interfaceINSpeakable
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe
public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe(@NotNull @NotNull INPersonHandle personHandle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier, @Nullable @Nullable java.lang.String customIdentifier, boolean isMe)
API-Since: 12.0
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship
public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship(@NotNull @NotNull INPersonHandle personHandle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier, @Nullable @Nullable java.lang.String customIdentifier, @Nullable @Nullable java.lang.String relationship)
API-Since: 14.0
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType
public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType(@NotNull @NotNull INPersonHandle personHandle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier, @Nullable @Nullable java.lang.String customIdentifier, boolean isContactSuggestion, long suggestionType)
API-Since: 15.0
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType
public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType(@NotNull @NotNull INPersonHandle personHandle, @Nullable @Nullable NSPersonNameComponents nameComponents, @Nullable @Nullable java.lang.String displayName, @Nullable @Nullable INImage image, @Nullable @Nullable java.lang.String contactIdentifier, @Nullable @Nullable java.lang.String customIdentifier, boolean isMe, long suggestionType)
API-Since: 15.0
-
isContactSuggestion
public boolean isContactSuggestion()
Indicates that the person is confirmed API-Since: 15.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-