美文网首页
WKWebsiteDataRecord

WKWebsiteDataRecord

作者: 萧修 | 来源:发表于2023-11-08 00:20 被阅读0次

    WKWebsiteDataRecord数据记录,其文件含有数据类型的定义和类

    @available(iOS 11.3, *)
    public let WKWebsiteDataTypeFetchCache: String
    
    /** @constant WKWebsiteDataTypeDiskCache On-disk caches. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeDiskCache: String
    
    /** @constant WKWebsiteDataTypeMemoryCache In-memory caches. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeMemoryCache: String
    
    /** @constant WKWebsiteDataTypeOfflineWebApplicationCache HTML offline web application caches. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeOfflineWebApplicationCache: String
    
    /** @constant WKWebsiteDataTypeCookies Cookies. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeCookies: String
    
    /** @constant WKWebsiteDataTypeSessionStorage HTML session storage. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeSessionStorage: String
    
    /** @constant WKWebsiteDataTypeLocalStorage HTML local storage. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeLocalStorage: String
    
    /** @constant WKWebsiteDataTypeWebSQLDatabases WebSQL databases. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeWebSQLDatabases: String
    
    /** @constant WKWebsiteDataTypeIndexedDBDatabases IndexedDB databases. */
    @available(iOS 9.0, *)
    public let WKWebsiteDataTypeIndexedDBDatabases: String
    
    /** @constant WKWebsiteDataTypeServiceWorkerRegistrations Service worker registrations. */
    @available(iOS 11.3, *)
    public let WKWebsiteDataTypeServiceWorkerRegistrations: String
    
    /** @constant WKWebsiteDataTypeFileSystem File system storage. */
    @available(iOS 16.0, *)
    public let WKWebsiteDataTypeFileSystem: String
    
    /** @constant WKWebsiteDataTypeSearchFieldRecentSearches Search field history. */
    @available(iOS 17.0, *)
    public let WKWebsiteDataTypeSearchFieldRecentSearches: String
    
    /** @constant WKWebsiteDataTypeMediaKeys MediaKeys storage */
    @available(iOS 17.0, *)
    public let WKWebsiteDataTypeMediaKeys: String
    
    /** @constant WKWebsiteDataTypeHashSalt Hash salt for deviceId */
    @available(iOS 17.0, *)
    public let WKWebsiteDataTypeHashSalt: String
    
    @available(iOS 9.0, *)
    open class WKWebsiteDataRecord : NSObject {
    
        /** @abstract The display name for the data record. This is usually the domain name. */
        open var displayName: String { get }
    
        
        /** @abstract The various types of website data that exist for this data record. */
        open var dataTypes: Set<String> { get }
    }
    

    相关文章

      网友评论

          本文标题:WKWebsiteDataRecord

          本文链接:https://www.haomeiwen.com/subject/oekxwdtx.html