LinuxServerCapabilities class Null safety

Represents capabilities, implemented by the Linux notification server.

Annotations

Constructors

LinuxServerCapabilities({required Set<String> otherCapabilities, required bool body, required bool bodyHyperlinks, required bool bodyImages, required bool bodyMarkup, required bool iconMulti, required bool iconStatic, required bool persistence, required bool sound})
Constructs an instance of LinuxServerCapabilities
const

Properties

body bool
Supports body text. Some implementations may only show the title (for instance, onscreen displays, marquee/scrollers).
final
The server supports hyperlinks in the notifications.
final
bodyImages bool
The server supports images in the notifications.
final
bodyMarkup bool
Supports markup in the body text. The markup is XML-based, and consists of a small subset of HTML along with a few additional tags. For more information, see Desktop Notifications Specification https://specifications.freedesktop.org/notification-spec/latest/ar01s04.html If marked up text is sent to a server that does not give this cap, the markup will show through as regular text so must be stripped clientside.
final
hashCode int
The hash code for this object. [...]
read-only, override
iconMulti bool
The server will render an animation of all the frames in a given image array. The client may still specify multiple frames even if this cap and/or iconStatic is missing, however the server is free to ignore them and use only the primary frame.
final
iconStatic bool
Supports display of exactly 1 frame of any given image array. This value is mutually exclusive with iconMulti, it is a protocol error for the server to specify both.
final
otherCapabilities Set<String>
Set of unknown capabilities. Vendor-specific capabilities may be specified as long as they start with x-vendor. For example, x-gnome-foo-cap. Capability names must not contain spaces. They are limited to alpha-numeric characters and dashes ("-")
final
persistence bool
The server supports persistence of notifications. Notifications will be retained until they are acknowledged or removed by the user or recalled by the sender. The presence of this capability allows clients to depend on the server to ensure a notification is seen and eliminate the need for the client to display a reminding function (such as a status icon) of its own.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sound bool
The server supports sounds on notifications. If returned, the server must support the AssetsLinuxSound, LinuxNotificationDetails.suppressSound and LinuxInitializationSettings.defaultSuppressSound.
final

Methods

copyWith({Set<String>? otherCapabilities, bool? body, bool? bodyHyperlinks, bool? bodyImages, bool? bodyMarkup, bool? iconMulti, bool? iconStatic, bool? persistence, bool? sound}) LinuxServerCapabilities
Creates a copy of this object, but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override