Package apple.intents

Class INPerson

    • Constructor Detail

      • INPerson

        protected INPerson​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static INPerson alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static 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()
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object 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

        public NSArray<? extends INPersonHandle> aliases()
        If your application has other representations for the person's handle, you can supply it for INInteraction donation
      • contactIdentifier

        public java.lang.String contactIdentifier()
        Reference to this person, if present in the system's Contacts store
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • customIdentifier

        public 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

        public java.lang.String displayName()
        This will return either the displayName if non-nil, else the formatted nameComponents, else the handle, else an empty string
      • handle

        public java.lang.String handle()
        The identity of the person in the application (e.g. email address, phone number, user handle, etc.)
      • image

        public INImage image()
        Returns an image for the person.
      • initWithHandleDisplayNameContactIdentifier

        public INPerson initWithHandleDisplayNameContactIdentifier​(java.lang.String handle,
                                                                   java.lang.String displayName,
                                                                   java.lang.String contactIdentifier)
        Use this convenience initializer if the person's name is unknown
      • initWithHandleNameComponentsContactIdentifier

        public INPerson initWithHandleNameComponentsContactIdentifier​(java.lang.String handle,
                                                                      NSPersonNameComponents nameComponents,
                                                                      java.lang.String contactIdentifier)
        This is the preferred convenience initializer if the app knows the name components of the person (e.g. given name, family name, etc).
      • initWithHandleNameComponentsDisplayNameImageContactIdentifier

        public INPerson initWithHandleNameComponentsDisplayNameImageContactIdentifier​(java.lang.String handle,
                                                                                      NSPersonNameComponents nameComponents,
                                                                                      java.lang.String displayName,
                                                                                      INImage image,
                                                                                      java.lang.String contactIdentifier)
      • initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier

        public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier​(INPersonHandle personHandle,
                                                                                                            NSPersonNameComponents nameComponents,
                                                                                                            java.lang.String displayName,
                                                                                                            INImage image,
                                                                                                            java.lang.String contactIdentifier,
                                                                                                            java.lang.String customIdentifier)
      • initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierAliasesSuggestionType

        public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierAliasesSuggestionType​(INPersonHandle personHandle,
                                                                                                                                 NSPersonNameComponents nameComponents,
                                                                                                                                 java.lang.String displayName,
                                                                                                                                 INImage image,
                                                                                                                                 java.lang.String contactIdentifier,
                                                                                                                                 java.lang.String customIdentifier,
                                                                                                                                 NSArray<? extends INPersonHandle> aliases,
                                                                                                                                 long suggestionType)
      • nameComponents

        public NSPersonNameComponents nameComponents()
        Returns the person's name components if this was initialized with them
      • personHandle

        public INPersonHandle personHandle()
        The identity of the person in the application
      • relationship

        public java.lang.String relationship()
        This person's relationship to the user
      • 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: NSSecureCoding
        This 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:
        _supportsSecureCoding in interface NSSecureCoding
      • isMe

        public boolean isMe()
        This property is set to YES when the user says things like "Search for messages from me", etc.
      • siriMatches

        public NSArray<? extends INPerson> siriMatches()
        This property is filled in with what Siri thinks are close matches to what the user said
      • initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe

        public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe​(INPersonHandle personHandle,
                                                                                                                NSPersonNameComponents nameComponents,
                                                                                                                java.lang.String displayName,
                                                                                                                INImage image,
                                                                                                                java.lang.String contactIdentifier,
                                                                                                                java.lang.String customIdentifier,
                                                                                                                boolean isMe)
      • initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship

        public INPerson initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship​(INPersonHandle personHandle,
                                                                                                                        NSPersonNameComponents nameComponents,
                                                                                                                        java.lang.String displayName,
                                                                                                                        INImage image,
                                                                                                                        java.lang.String contactIdentifier,
                                                                                                                        java.lang.String customIdentifier,
                                                                                                                        java.lang.String relationship)