dbus_client 0.0.0-dev.10

Dart native
Flutter Android iOS

A native Dart implementation of the D-Bus message bus client. This package allows Dart applications to directly access services on the Linux desktop.

Pub Package

A native Dart client implementation of D-Bus.

Example #

import 'package:dbus_client/dbus_client.dart';

var client = DBusClient.system();
await client.connect();
var proxy = DBusObjectProxy(client, 'org.freedesktop.hostname1', '/org/freedesktop/hostname1');
var result = await proxy.getProperty('org.freedesktop.hostname1', 'Hostname');
var hostname = (result.value as DBusString).value;
print('hostname: ${hostname}');
await client.disconnect();
4
likes
90
pub points
47%
popularity

A native Dart implementation of the D-Bus message bus client. This package allows Dart applications to directly access services on the Linux desktop.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

marcus.tomlinson@canonical.com
robert.ancell@canonical.com

License

GPL 3.0 (LICENSE)

More

Packages that depend on dbus_client