dbus 0.0.0-dev.11 copy "dbus: ^0.0.0-dev.11" to clipboard
dbus: ^0.0.0-dev.11 copied to clipboard

outdated

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/dbus.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 as DBusString).value;
print('hostname: ${hostname}');
await client.disconnect();
59
likes
0
pub points
96%
popularity

Publisher

verified publishercanonical.com

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

License

unknown (LICENSE)

Dependencies

xml

More

Packages that depend on dbus