get_interface


Description:

[ Version ( since = "1.0" ) ]
public unowned string get_interface ()

Gets the operating system name for the network data interface that provides packet data using this Bearer.

This will only be available once the Bearer is in connected state.

Warning:

The returned value is only valid until the property changes so it is only safe to use this function on the thread where this was constructed. Use dup_interface if on another thread.

Parameters:

this

A Bearer.

Returns:

The name of the interface, or null if it couldn't be retrieved.