new_from_dbus


Description:

public static Connection new_from_dbus (Variant dict) throws Error

Creates a new SimpleConnection from a hash table describing the connection and normalize the connection.

See to_dbus for a description of the expected hash table.

Parameters:

dict

a Variant of type nm_variant_type_connection describing the connection

Returns:

the new SimpleConnection object, populated with settings created from the values in the hash table, or null if the connection failed to normalize.