One Logo Pool Ball
NetworkExtension · IOS API REFERENCE

NEURLFilterPrefilter

struct · iOS 26.0+ · SDK 27.1

struct NEURLFilterPrefilter

A struct containing a prefilter returned by fetchPrefilter() implementation. NEURLFilterPrefilter must contain a Bloom filter built with the 32-bit FNV-1a and 32-bit MurmurHash3 hash functions, with double hashing. See fetchPrefilter() documentation. Depending on the size of the Bloom Filter data, it can be passed as Data or the path of a file containing the data.

Members (6)

get · iOS 26.0+

murmurSeed

TypeScript
get murmurSeed(): number
Swift declaration
let murmurSeed: UInt32

seed used in MurmurHash3

get · iOS 26.0+

tag

TypeScript
get tag(): string
Swift declaration
let tag: String

The tag of the Bloom filter data, (e.g. the SHA-256 hash of the Bloom filter data)

init · iOS 26.0+

init

TypeScript
static init(data: NEURLFilterPrefilter_PrefilterData, tag: string, bitCount: number, hashCount: number, murmurSeed: number): NEURLFilterPrefilter
Swift declaration
init(data: NEURLFilterPrefilter.PrefilterData, tag: String, bitCount: Int, hashCount: Int, murmurSeed: UInt32)

Initialize a new NEURLFilterPrefilter struct - Parameters - data: data of type PrefilterData, either as Data or a file path to the data - tag: The tag of the Bloom filter data, (e.g. the SHA-256 hash of the Bloom filter data) - bitCount: number of bits in Bloom filter - hashCount: number of hashes for Bloom filter - murmurSeed: seed used in MurmurHash3

get · iOS 26.0+

data

TypeScript
get data(): NEURLFilterPrefilter_PrefilterData
Swift declaration
let data: NEURLFilterPrefilter.PrefilterData

Bloom filter data

get · iOS 26.0+

bitCount

TypeScript
get bitCount(): number
Swift declaration
let bitCount: Int

number of bits in Bloom filter

get · iOS 26.0+

hashCount

TypeScript
get hashCount(): number
Swift declaration
let hashCount: Int

number of hashes for Bloom filter

Skipped declarations

No declarations were skipped in this snapshot.

All NetworkExtension types →