PresentationManagerProps Interface

Properties that can be used to configure PresentationManager

Properties

Name Type Description
activeLocale undefined | string Sets the active locale to use when localizing presentation-related  
activeUnitSystem undefined | PresentationUnitSystem Sets the active unit system to use for formatting property values with  
cacheConfig undefined | HierarchyCacheConfig A configuration for Presentation hierarchy cache. Beta  
contentCacheSize undefined | number    
defaultFormats undefined | { T } A map of default unit formats to use for formatting properties that don't have a presentation format  
enableSchemasPreload undefined | boolean Should schemas preloading be enabled.  
localeDirectories undefined | string[] A list of directories containing application's locale-specific localized  
mode undefined | PresentationManagerMode Presentation manager working mode.  
presentationAssetsRoot string | { backend: string, common: string } Path overrides for presentation assets.  
rulesetDirectories undefined | string[] A list of directories containing application's presentation rulesets.  
supplementalRulesetDirectories undefined | string[] A list of directories containing application's supplemental presentation rulesets.  
taskAllocationsMap undefined | { T } A map of 'priority' to 'number of slots allocated for simultaneously running tasks'  
updatesPollInterval undefined | number The interval (in milliseconds) used to poll for presentation data changes.  
useMmap number | boolean Use SQLite's Memory-Mapped I/O for worker connections.  
workerConnectionCacheSize undefined | number Each slot (see PresentationManagerProps.taskAllocationsMap) may open a worker connection to an iModel used for a request.  

Defined in

Last Updated: 29 November, 2022