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
,org.robovm.objc.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 class
INPerson.INPersonPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
INPerson()
INPerson(java.lang.String handle, java.lang.String displayName, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0.INPerson(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0.INPerson(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0.INPerson(NSCoder decoder)
protected
INPerson(NSObject.Handle h, long handle)
protected
INPerson(NSObject.SkipInit skipInit)
INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier)
INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, boolean isMe)
INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
encode(NSCoder coder)
NSArray<INPersonHandle>
getAliases()
NSArray<?>
getAlternativeSpeakableMatches()
java.lang.String
getContactIdentifier()
java.lang.String
getCustomIdentifier()
java.lang.String
getDisplayName()
java.lang.String
getHandle0()
Deprecated.Deprecated in iOS 10.0.java.lang.String
getIdentifier()
Deprecated.Deprecated in iOS 11.0.INImage
getImage()
NSPersonNameComponents
getNameComponents()
INPersonHandle
getPersonHandle()
java.lang.String
getPronunciationHint()
java.lang.String
getRelationship()
NSArray<INPerson>
getSiriMatches()
java.lang.String
getSpokenPhrase()
INPersonSuggestionType
getSuggestionType()
java.lang.String
getVocabularyIdentifier()
protected long
init(java.lang.String handle, java.lang.String displayName, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0.protected long
init(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0.protected long
init(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0.protected long
init(NSCoder decoder)
protected long
init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier)
protected long
init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, boolean isMe)
protected long
init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType)
boolean
isMe()
static boolean
supportsSecureCoding()
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
INPerson
protected INPerson()
-
INPerson
protected INPerson(NSObject.Handle h, long handle)
-
INPerson
protected INPerson(NSObject.SkipInit skipInit)
-
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier)
-
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, boolean isMe)
- Since:
- Available in iOS 12.0 and later.
-
INPerson
public INPerson(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType)
-
INPerson
@Deprecated public INPerson(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
INPerson
@Deprecated public INPerson(java.lang.String handle, java.lang.String displayName, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
INPerson
@Deprecated public INPerson(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
INPerson
public INPerson(NSCoder decoder)
-
-
Method Detail
-
getPersonHandle
public INPersonHandle getPersonHandle()
-
getNameComponents
public NSPersonNameComponents getNameComponents()
-
getDisplayName
public java.lang.String getDisplayName()
-
getImage
public INImage getImage()
-
getContactIdentifier
public java.lang.String getContactIdentifier()
-
getCustomIdentifier
public java.lang.String getCustomIdentifier()
-
getRelationship
public java.lang.String getRelationship()
- Since:
- Available in iOS 10.2 and later.
-
getAliases
public NSArray<INPersonHandle> getAliases()
-
getSuggestionType
public INPersonSuggestionType getSuggestionType()
-
isMe
public boolean isMe()
- Since:
- Available in iOS 11.0 and later.
-
getHandle0
@Deprecated public java.lang.String getHandle0()
Deprecated.Deprecated in iOS 10.0. Use personHandle instead- Since:
- Available in iOS 10.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getSpokenPhrase
public java.lang.String getSpokenPhrase()
- Specified by:
getSpokenPhrase
in interfaceINSpeakable
-
getPronunciationHint
public java.lang.String getPronunciationHint()
- Specified by:
getPronunciationHint
in interfaceINSpeakable
-
getVocabularyIdentifier
public java.lang.String getVocabularyIdentifier()
- Specified by:
getVocabularyIdentifier
in interfaceINSpeakable
-
getAlternativeSpeakableMatches
public NSArray<?> getAlternativeSpeakableMatches()
- Specified by:
getAlternativeSpeakableMatches
in interfaceINSpeakable
-
getIdentifier
@Deprecated public java.lang.String getIdentifier()
Deprecated.Deprecated in iOS 11.0. Please use vocabularyIdentifier- Specified by:
getIdentifier
in interfaceINSpeakable
- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier)
-
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, boolean isMe)
- Since:
- Available in iOS 12.0 and later.
-
init
protected long init(INPersonHandle personHandle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier, java.lang.String customIdentifier, NSArray<INPersonHandle> aliases, INPersonSuggestionType suggestionType)
-
init
@Deprecated protected long init(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
init
@Deprecated protected long init(java.lang.String handle, java.lang.String displayName, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
init
@Deprecated protected long init(java.lang.String handle, NSPersonNameComponents nameComponents, java.lang.String displayName, INImage image, java.lang.String contactIdentifier)
Deprecated.Deprecated in iOS 10.0. Use the designated initializer instead- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(NSCoder decoder)
-
-