MateSessionManager class

The client that connects to the MATE Session Manager

Constructors

MateSessionManager({DBusClient? bus, @visibleForTesting DBusRemoteObject? object})

Properties

hashCode int
The hash code for this object.
no setterinherited
propertiesChanged Stream<List<String>>
Stream of property names as they change.
no setter
renderer String
The name of the renderer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canShutdown() Future<bool>
True if shutdown is available to the user, false otherwise
close() Future<void>
Closes connection to the Session Manager service.
connect() Future<void>
Connects to the Session Manager service.
isSessionRunning() Future<bool>
True if the session has entered the Running phase, false otherwise
logout({Set<MateLogoutMode> mode = const {}}) Future<void>
Request a logout dialog.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() Future<void>
Request a reboot/shutdown dialog.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

busName String
final
managerName String
final
objectPath String
final