OrgFreedesktopTimedate1 class

Constructors

OrgFreedesktopTimedate1.new(DBusClient client, String destination, {DBusObjectPath path = const DBusObjectPath.unchecked('/org/freedesktop/timedate1')})

Properties

client → DBusClient
The client this object is accessed from.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the client providing this object.
finalinherited
path → DBusObjectPath
The path to the object.
finalinherited
propertiesChanged Stream<DBusPropertiesChangedSignal>
Stream of signals when the remote object indicates a property has changed.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callListTimezones({bool noAutoStart = false, bool allowInteractiveAuthorization = false}) Future<List<String>>
Invokes org.freedesktop.timedate1.ListTimezones()
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.
inherited
callSetLocalRTC(bool local_rtc, bool fix_system, bool interactive, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) Future<void>
Invokes org.freedesktop.timedate1.SetLocalRTC()
callSetNTP(bool use_ntp, bool interactive, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) Future<void>
Invokes org.freedesktop.timedate1.SetNTP()
callSetTime(int usec_utc, bool relative, bool interactive, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) Future<void>
Invokes org.freedesktop.timedate1.SetTime()
callSetTimezone(String timezone, bool interactive, {bool noAutoStart = false, bool allowInteractiveAuthorization = false}) Future<void>
Invokes org.freedesktop.timedate1.SetTimezone()
getAllProperties(String interface) Future<Map<String, DBusValue>>
Gets the values of all the properties on this object.
inherited
getCanNTP() Future<bool>
Gets org.freedesktop.timedate1.CanNTP
getLocalRTC() Future<bool>
Gets org.freedesktop.timedate1.LocalRTC
getNTP() Future<bool>
Gets org.freedesktop.timedate1.NTP
getNTPSynchronized() Future<bool>
Gets org.freedesktop.timedate1.NTPSynchronized
getProperty(String interface, String name, {DBusSignature? signature}) Future<DBusValue>
Gets a property on this object.
inherited
getRTCTimeUSec() Future<int>
Gets org.freedesktop.timedate1.RTCTimeUSec
getTimeUSec() Future<int>
Gets org.freedesktop.timedate1.TimeUSec
getTimezone() Future<String>
Gets org.freedesktop.timedate1.Timezone
introspect() Future<DBusIntrospectNode>
Gets the introspection data for this object.
inherited
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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