Gio.Volume.prototype.get_name

function get_name(): String {
    // Gjs wrapper for g_volume_get_name()
}
  

Gets the name of volume.

Returns

the name for the given volume. The returned string should be freed with GLib.free when no longer needed.