Catalysis of an oxidation-reduction (redox) reaction in which X-H and Y-H form X-Y and the acceptor is oxygen.
oxidoreductase activity, acting on X-H and Y-H to form an X-Y bond, with oxygen as acceptor