builtinActionSet(ofType:)
Retrieves the builtin action set for the specified type.
Declaration
func builtinActionSet(ofType actionSetType: String) -> HMActionSet?Parameters
- actionSetType:
Type of the builtin action set. Supported action set types are Hmactionsettypewakeup, Hmactionsettypesleep, Hmactionsettypehomedeparture and Hmactionsettypehomearrival.
Return Value
The builtin action set corresponding to the type argument.
Discussion
Returns nil if no action set is found.