createBusConnection

Creates/opens D-Bus session bus connection when in a user context, and a system bus connection, otherwise.

Return

Connection instance

Throws

in case of failure


Creates/opens D-Bus session bus connection with a name when in a user context, and a system bus connection with a name, otherwise.

Return

Connection instance

Parameters

name

Name to request on the connection after its opening

Throws

in case of failure