Package org.robovm.apple.intents
Class INPerson
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.intents.INPerson
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,INSpeakable,ObjCProtocol
- Direct Known Subclasses:
INRestaurantGuest,INRideDriver
public class INPerson extends NSObject implements NSSecureCoding, INSpeakable
- Since:
- Available in iOS 10.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classINPerson.INPersonPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedINPerson()INPerson(String handle, String displayName, String contactIdentifier)Deprecated.Deprecated in iOS 10.0.INPerson(String handle, NSPersonNameComponents nameComponents, String contactIdentifier)Deprecated.Deprecated in iOS 10.0.INPerson(String handle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier)Deprecated.Deprecated in iOS 10.0.INPerson(NSCoder coder)protectedINPerson(NSObject.Handle h, long handle)protectedINPerson(NSObject.SkipInit skipInit)INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier)INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe)INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, String relationship)INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType) -
Method Summary
Modifier and Type Method Description static INPersoncreateForContactSuggestion(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isContactSuggestion, INPersonSuggestionType suggestionType)static INPersoncreateForMe(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe, INPersonSuggestionType suggestionType)voidencode(NSCoder coder)NSArray<INPersonHandle>getAliases()NSArray<?>getAlternativeSpeakableMatches()StringgetContactIdentifier()StringgetCustomIdentifier()StringgetDisplayName()StringgetHandle0()Deprecated.Deprecated in iOS 10.0.StringgetIdentifier()Deprecated.Deprecated in iOS 11.0.INImagegetImage()NSPersonNameComponentsgetNameComponents()INPersonHandlegetPersonHandle()StringgetPronunciationHint()StringgetRelationship()NSArray<INPerson>getSiriMatches()StringgetSpokenPhrase()INPersonSuggestionTypegetSuggestionType()StringgetVocabularyIdentifier()protected longinit(String handle, String displayName, String contactIdentifier)Deprecated.Deprecated in iOS 10.0.protected longinit(String handle, NSPersonNameComponents nameComponents, String contactIdentifier)Deprecated.Deprecated in iOS 10.0.protected longinit(String handle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier)Deprecated.Deprecated in iOS 10.0.protected longinit(NSCoder coder)protected longinit(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier)protected longinit(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe)protected longinit(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, String relationship)protected longinit(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType)protected longinitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isContactSuggestion, INPersonSuggestionType suggestionType)protected longinitWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe, INPersonSuggestionType suggestionType)booleanisContactSuggestion()booleanisMe()static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
INPerson
protected INPerson() -
INPerson
-
INPerson
-
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier) -
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, String relationship)- Since:
- Available in iOS 14.0 and later.
-
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe)- Since:
- Available in iOS 12.0 and later.
-
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType) -
INPerson
@Deprecated public INPerson(String handle, NSPersonNameComponents nameComponents, String contactIdentifier)Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
INPerson
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
INPerson
@Deprecated public INPerson(String handle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier)Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
INPerson
-
-
Method Details
-
createForMe
public static INPerson createForMe(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe, INPersonSuggestionType suggestionType)- Since:
- Available in iOS 15.0 and later.
-
createForContactSuggestion
public static INPerson createForContactSuggestion(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isContactSuggestion, INPersonSuggestionType suggestionType)- Since:
- Available in iOS 15.0 and later.
-
getPersonHandle
-
getNameComponents
-
getDisplayName
-
getImage
-
getContactIdentifier
-
getCustomIdentifier
-
getRelationship
- Since:
- Available in iOS 10.2 and later.
-
isContactSuggestion
public boolean isContactSuggestion()- Since:
- Available in iOS 15.0 and later.
-
getAliases
-
getSuggestionType
-
getSiriMatches
- Since:
- Available in iOS 10.3 and later.
-
isMe
public boolean isMe()- Since:
- Available in iOS 11.0 and later.
-
getHandle0
Deprecated.Deprecated in iOS 10.0. Use personHandle instead- Since:
- Available in iOS 10.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
getSpokenPhrase
- Specified by:
getSpokenPhrasein interfaceINSpeakable
-
getPronunciationHint
- Specified by:
getPronunciationHintin interfaceINSpeakable
-
getVocabularyIdentifier
- Specified by:
getVocabularyIdentifierin interfaceINSpeakable
-
getAlternativeSpeakableMatches
- Specified by:
getAlternativeSpeakableMatchesin interfaceINSpeakable
-
getIdentifier
Deprecated.Deprecated in iOS 11.0. Please use vocabularyIdentifier- Specified by:
getIdentifierin interfaceINSpeakable- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier) -
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, String relationship)- Since:
- Available in iOS 14.0 and later.
-
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe)- Since:
- Available in iOS 12.0 and later.
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType
protected long initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isMe, INPersonSuggestionType suggestionType)- Since:
- Available in iOS 15.0 and later.
-
initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType
protected long initWithPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, boolean isContactSuggestion, INPersonSuggestionType suggestionType)- Since:
- Available in iOS 15.0 and later.
-
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier, String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType) -
init
@Deprecated protected long init(String handle, NSPersonNameComponents nameComponents, String contactIdentifier)Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
init
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
init
@Deprecated protected long init(String handle, NSPersonNameComponents nameComponents, String displayName, INImage image, String contactIdentifier)Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
encode
-
init
-