Contents

getSelectedMedium

Gets the current selected medium.

Declaration

virtual const IONetworkMedium * getSelectedMedium() const;

Return Value

Returns the current selected medium, the default medium, or 0.

Overview

If the driver has previously called setSelectedMedium() to indicate its current media selection, then this method will return that medium object. Otherwise, the driver's property table is consulted and a default medium property is examined, and the corresponding entry in the medium dictionary is returned.

See Also

Miscellaneous