class SKryptonWebProfile : NativeInterface
A class representing a profile used by the backing web engine.
SKryptonWebProfile(storageName: String)
Main constructor. |
var cachePath: Path
Path used for caches. |
|
val handle: CPointer
Native pointer |
|
var httpAcceptLanguage: String
Value of the |
|
var httpCacheMaxSize: Int
Maximum size of the HTTP cache, 0 if auto-managed by the web engine. |
|
var httpCacheType: HttpCacheType
Type of HTTP cache used. |
|
var httpUserAgent: String
User-Agent used by the web engine. |
|
val isOffTheRecord: Boolean
Whether or not the profile is incognito. |
|
var persistentCookiesPolicy: PersistentCookiesPolicy
The policy for persisting cookies. |
|
var persistentStoragePath: Path
Path used to store persistent data. (Includes persistent cookies, HTML5 local storage, and visited links) |
|
var spellCheckEnabled: Boolean
Whether or not the spell checker is enabled. |
|
var spellCheckLanguages: Array<String>
List of languages used by the spell checker. |
|
val storageName: String
The storage name for the profile, used for giving each profile a separate sub-directory to store persistent data and cache. |
fun clearAllVisitedLinks(): Unit
Clears all links from the visited links database. |
|
fun clearHttpCache(): Unit
Clears the profile's cache entries. |
|
fun clearVisitedLinks(urls: List<String>): Unit
Removes urls from the visited links database. |
|
fun close(): Unit
Doesn't do anything, dispose the web view using this profile instead. |
|
fun visitedLinksContainsUrl(url: String): Boolean
Checks if the given url is in the visited links database. |
fun dispose(): Unit
Disposes this object, usually same action as close |
val defaults: SKryptonWebProfile
Profile instance that is used by default. |