UDisksClient class

A client that connects to UDisks.

Constructors

UDisksClient({DBusClient? bus})
Creates a new UDisks client connected to the system D-Bus.

Properties

blockDeviceAdded Stream<UDisksBlockDevice>
Stream of block devices as they are added.
no setter
blockDeviceRemoved Stream<UDisksBlockDevice>
Stream of block devices as they are removed.
no setter
blockDevices List<UDisksBlockDevice>
The block devices present on this system. Use blockDeviceAdded and blockDeviceRemoved to detect when this list changes.
no setter
defaultEncryptionType String
Default encryption type.
no setter
driveAdded Stream<UDisksDrive>
Stream of drives as they are added.
no setter
driveRemoved Stream<UDisksDrive>
Stream of drives as they are removed.
no setter
drives List<UDisksDrive>
The drives present on this system. Use driveAdded and driveRemoved to detect when this list changes.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedEncryptionTypes List<String>
Supported encryption types.
no setter
supportedFilesystems List<String>
Supported filesystems.
no setter
version String
The version of the UDisks daemon.
no setter

Methods

close() Future<void>
Terminates all active connections. If a client remains unclosed, the Dart process may not terminate.
connect() Future<void>
Connects to the UDisks D-Bus objects. Must be called before accessing methods and properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited