Gio.Volume::get_identifier

function vfunc_get_identifier(kind: String): String {
}
  

Gets the identifier of the given kind for volume. See the [introduction][volume-identifier] for more information about volume identifiers.

kind

the kind of identifier to return

Returns

a newly allocated string containing the requested identfier, or null if the Gio.Volume doesn't have this kind of identifier