PolicyDecisionImpl

class PolicyDecisionImpl(pointer: <Error class: unknown class><<Error class: unknown class>>) : PolicyDecision

The PolicyDecisionImpl type represents a native instance of the abstract PolicyDecision class.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of PolicyDecision for the provided CPointer.

Properties

Link copied to clipboard
val webkitPolicyDecisionPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun download()

Spawn a download from this decision.

Link copied to clipboard
open fun ignore()

#WebKitResponsePolicyDecision, this would cancel the request.

Link copied to clipboard
open fun use()

Accept the action which triggered this decision.

Link copied to clipboard
open fun useWithPolicies(policies: WebsitePolicies)

Accept the navigation action and continue with provided @policies.