get_modem


Description:

public GdbusModem? get_modem ()

Gets the GdbusModem instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-ModemManager1-Modem.

top_of_page">org.freedesktop.ModemManager1.Modem</link> on this, if any.

Parameters:

this

A GdbusObject.

Returns:

A GdbusModem that must be freed with unref or null if this does not implement the interface.