connectQueryPermissionState
fun connectQueryPermissionState(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (query: PermissionStateQuery) -> Boolean): <Error class: unknown class>
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 webkit_permission_state_query_finish().
You can handle the query asynchronously by calling webkit_permission_state_query_ref() on
Since
2.40
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: query
the #WebKitPermissionStateQuery. Returns true if the message was handled, or false otherwise.