DBusRemoteObject class
An object to simplify access to a D-Bus object.
- Implementers
Constructors
- DBusRemoteObject(DBusClient client, {required String name, required DBusObjectPath path})
- Creates an object that access accesses a remote D-Bus object using bus name with path.
Properties
- client → DBusClient
-
The client this object is accessed from.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the client providing this object.
final
- path → DBusObjectPath
-
The path to the object.
final
-
propertiesChanged
↔ Stream<
DBusPropertiesChangedSignal> -
Stream of signals when the remote object indicates a property has changed.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callMethod(
String? interface, String name, Iterable< DBusValue> values, {DBusSignature? replySignature, bool noReplyExpected = false, bool noAutoStart = false, bool allowInteractiveAuthorization = false}) → Future<DBusMethodSuccessResponse> - Invokes a method on this object. Throws DBusMethodResponseException if the remote side returns an error.
-
getAllProperties(
String interface) → Future< Map< String, DBusValue> > - Gets the values of all the properties on this object.
-
getProperty(
String interface, String name, {DBusSignature? signature}) → Future< DBusValue> - Gets a property on this object.
-
introspect(
) → Future< DBusIntrospectNode> - Gets the introspection data for this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperty(
String interface, String name, DBusValue value) → Future< void> - Sets a property on this object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited