Instance Method

updateName(_:completionHandler:)

Updates the name of the service group.

Declaration

func updateName(_ name: String, completionHandler completion: @escaping (Error?) -> Void)

Parameters

name

The new name; must not be nil.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

See Also

Managing Service Groups

var name: String

The name of the service group.

var uniqueIdentifier: UUID

The unique identifier for the service group.

var services: [HMService]

Array of the services in the service group.