Contents

relationship

The relationship between this person and the person using the device.

Declaration

var relationship: INPersonRelationship? { get }

Discussion

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

Accessing relationship details