query_permission_state
Description:
[ Version ( since = "2.40" ) ]
public virtual signal bool query_permission_state (PermissionStateQuery query)
public virtual signal bool query_permission_state (PermissionStateQuery query)
This signal allows the User-Agent to respond to permission requests for powerful features, as specified by the Permissions W3C Specification.
You can reply to the query using finish.
You can handle the query asynchronously by calling @ref on
query
and returning true. If the last reference of query
is removed and the query
has not been handled, the query result will be set to webkit_query_permission_prompt.
Parameters:
query |
Returns:
true if the message was handled, or false otherwise. |