create_callback ( Object object, String method )
create_object ( String object, ... ) vararg
download_buffer ( PoolByteArray buffer, String name, String mime="application/octet-stream" )
eval ( String code, bool use_global_execution_context=false )
get_interface ( String interface )
pwa_needs_update ( ) const
pwa_update ( )
pwa_update_available ( )
Emitted when an update for this progressive web app has been detected but is waiting to be activated because a previous version is active. See pwa_update to force the update to take place immediately.
new constructor. The
void download_buffer ( PoolByteArray buffer, String name, String mime="application/octet-stream" )
Prompts the user to download a file containing the specified
buffer. The file will have the given
Note: The browser may override the MIME type provided based on the file
Note: Browsers might block the download if download_buffer is not being called from a user interaction (e.g. button click).
Note: Browsers might ask the user for permission or block the download if multiple download requests are made in a quick succession.
Execute the string
true, the code will be evaluated in the global execution context. Otherwise, it is evaluated in the execution context of a function within the engine's runtime environment.
bool pwa_needs_update ( ) const
true if a new version of the progressive web app is waiting to be activated.
Note: Only relevant when exported as a Progressive Web App.
Error pwa_update ( )
Performs the live update of the progressive web app. Forcing the new version to be installed and the page to be reloaded.
Note: Your application will be reloaded in all browser tabs.
Note: Only relevant when exported as a Progressive Web App and pwa_needs_update returns