Function

WebKitUserAgentnew_with_application_details

unstable since: 2.56

Declaration [src]

WebKitUserAgent*
webkit_user_agent_new_with_application_details (
  WebKitUserAgentType type,
  const gchar* application_name,
  const gchar* application_version
)

Description [src]

Creates a new WebKitUserAgent with the given type, application_name, and application_version.

Available since: 2.56

Parameters

type

Type: WebKitUserAgentType

A WebKitUserAgentType.

application_name

Type: const gchar*

Application name or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
application_version

Type: const gchar*

Application version or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: WebKitUserAgent

The newly created WebKitUserAgent.

The caller of the function takes ownership of the data, and is responsible for freeing it.