setUserAgentWithApplicationDetails

fun setUserAgentWithApplicationDetails(applicationName: String? = null, applicationVersion: String? = null)

Set the #WebKitSettings:user-agent property by appending the application details.

Set the #WebKitSettings:user-agent property by appending the application details to the default user agent. If no application name or version is given, the default user agent used will be used. If only the version is given, the default engine version is used with the given application name.

Parameters

applicationName

The application name used for the user agent or null to use the default user agent.

applicationVersion

The application version for the user agent or null to user the default version.