Gio.Mount.prototype.guess_content_type_finish

function guess_content_type_finish(result: Gio.AsyncResult): Array(String) {
    // Gjs wrapper for g_mount_guess_content_type_finish()
}
  

Finishes guessing content types of mount. If any errors occurred during the operation, @error will be set to contain the errors and false will be returned. In particular, you may get an Gio.IOErrorEnum.not_supported if the mount does not support content guessing.

Since 2.18

result

a Gio.AsyncResult

Returns

a null-terminated array of content types or null on error. Caller should free this array with GLib.strfreev when done with it.