Instance Method

removeRoom(_:completionHandler:)

Removes a room from the zone.

Declaration

func removeRoom(_ room: HMRoom, completionHandler completion: @escaping (Error?) -> Void)

Parameters

room

The room to remove.

completion

The block executed after the request is processed.

error

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

See Also

Assigning Rooms to a Zone

var rooms: [HMRoom]

Array of rooms in the zone.