Contents

servicesWithTypes(_:)

Returns an array of all services provided by accessories in the home that match the specified types.

Declaration

func servicesWithTypes(_ serviceTypes: [String]) -> [HMService]?

Parameters

Return Value

An array of found services. Returns nil if no matching services are found.

See Also

Grouping services