IContentDataProvider Interface

Interface for all presentation-driven content providers.

Extends

Implemented by

Inherited methods

Name Inherited from Description
dispose(): void Inherited IPresentationDataProvider Disposes the provider.

Properties

Name Type Description
displayType Readonly string Display type used to format content  
getContent (pageOptions?: PageOptions) => Promise<undefined | Content> Get the content.  
getContentDescriptor () => Promise<undefined | Descriptor> Get the content descriptor.  
getContentSetSize () => Promise<number> Get the number of content records.  
getFieldByPropertyDescription (descr: PropertyDescription) => Promise<undefined | Field> Get field that was used to create a property record with given property description.  
getFieldByPropertyRecord (propertyRecord: PropertyRecord) => Promise<undefined | Field> Get field that was used to create the given property record. Deprecated  
keys KeySet Keys defining what to request content for  
selectionInfo undefined | SelectionInfo Information about selection event that results in content change  

Inherited properties

Name Type Inherited from Description
[dispose] Inherited () => void | undefined IPresentationDataProvider Disposes the provider.
imodel Readonly Inherited IModelConnection IPresentationDataProvider IModelConnection used by this data provider
rulesetId Readonly Inherited string IPresentationDataProvider Id of the ruleset used by this data provider

Defined in

Last Updated: 17 December, 2024