Contents

predicateForEvaluatingTrigger(withPresence:)

Creates a predicate that evaluates the current user presence against that specified in the presence event.

Declaration

class func predicateForEvaluatingTrigger(withPresence presenceEvent: HMPresenceEvent) -> NSPredicate

Parameters

Return Value

A predicate object that represents a condition to evaluate before executing the scene.

See Also

Creating predicates