enumerateHierarchy
TypeScriptget enumerateHierarchy(): booleanSwift declarationvar enumerateHierarchy: BoolA Boolean value that indicates whether the parser walks the domain hierarchy for matching.
struct · iOS 27.0+ · SDK 27.1
struct DomainOptionsA type that represents options for parsing the URL domain component.
get enumerateHierarchy(): booleanSwift declarationvar enumerateHierarchy: BoolA Boolean value that indicates whether the parser walks the domain hierarchy for matching.
set enumerateHierarchy(value: boolean)Swift declarationvar enumerateHierarchy: BoolA Boolean value that indicates whether the parser walks the domain hierarchy for matching.
get levels(): numberSwift declarationvar levels: UIntThe number of domain levels to preserve when parsing. A value of `2` for the domain `www.sub.example.com` keeps the `example.com`. Use a value of `0` to keep all domain levels.
set levels(value: number)Swift declarationvar levels: UIntThe number of domain levels to preserve when parsing. A value of `2` for the domain `www.sub.example.com` keeps the `example.com`. Use a value of `0` to keep all domain levels.
static init(excluded?: boolean, stripWWW?: boolean, levels?: number, enumerateHierarchy?: boolean): NEURLFilterManager_ParsingConfiguration_DomainOptionsSwift declarationinit(excluded: Bool = false, stripWWW: Bool = true, levels: UInt = 0, enumerateHierarchy: Bool = true)Creates a new domain options configuration with default values. The domain options default behavior is as follows: * Parsing includes the domain. * Parsing strips the `www` subdomain if it is present. * Parsing includes all domain levels. * Parsing enables enumeration of the domain hierarchy.
get excluded(): booleanSwift declarationvar excluded: BoolA Boolean value that indicates whether to exclude the domain component from URL parsing. When this value is `true`, parsing ignores all other domain options.
set excluded(value: boolean)Swift declarationvar excluded: BoolA Boolean value that indicates whether to exclude the domain component from URL parsing. When this value is `true`, parsing ignores all other domain options.
get stripWWW(): booleanSwift declarationvar stripWWW: BoolA Boolean value that indicates whether to strip the `www` subdomain when parsing.
set stripWWW(value: boolean)Swift declarationvar stripWWW: BoolA Boolean value that indicates whether to strip the `www` subdomain when parsing.
No declarations were skipped in this snapshot.