Notify.get_server_caps

function get_server_caps(): Array(String) {
    // Gjs wrapper for notify_get_server_caps()
}
  

Synchronously queries the server for its capabilities and returns them in a GLib.List.

Returns

a GLib.List of server capability strings. Free the list elements with g_free() and the list itself with g_list_free().