Skip to content

Commit

Permalink
specs: WIP add sound property
Browse files Browse the repository at this point in the history
  • Loading branch information
jsparber committed Mar 7, 2024
1 parent 6629dcf commit 30cadc9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions data/org.freedesktop.portal.Notification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,29 @@
There may be further restrictions on the supported kinds of icons.
* ``sound`` (``v``)
A serialized sound to add to the notification. The format for
serialized sound is a tuple (sv) with the following supported keys:
* ``themed`` (``as``)
A themed sound containing an array of strings with the themeable
named sound icon names, similar to an icon names.
* ``bytes`` (``ay``)
A bytes sound containing a bytestring with the sound data.
This is the same format as a serialized `GBytesIcon
<https://docs.gtk.org/gio/class.BytesIcon.html>`_.
* ``file-descriptor`` (``h``)
A file descriptor to a sound file.
There may be further restrictions on the supported kinds of sounds.
* ``priority`` (``s``)
The priority for the notification. Supported values:
Expand Down

0 comments on commit 30cadc9

Please sign in to comment.