Instance Property


The relationship of this person to the current user.


var relationship: INPersonRelationship? { get }


SiriKit sets the value of this property for you based on information provided by the user. For example, if the user says “send a message to my brother”, Siri sets this property to brother. However, if the user said “send a message to Shelly” and Shelly happened to be my spouse, Siri would not set this property.

See Also

Identifiying a Person by Relationship

struct INPersonRelationship

Constants indicating the relationship between the current user and another person.