API Reference > presentation-common > RPC > PresentationRpcInterface PresentationRpcInterface Class Interface used for communication between Presentation backend and frontend. Extends RpcInterface Methods Name Description computeSelection(_token: IModelTokenProps, _options: SelectionScopeRpcRequestOptions, _ids: Id64String[], _scopeId: string): PresentationRpcResponse<KeySetJSON> getContent(_token: IModelTokenProps, _options: ContentRpcRequestOptions, _descriptorOrOverrides: | DescriptorOverrides, _keys: KeySetJSON): PresentationRpcResponse< | undefined> getContentAndSize(_token: IModelTokenProps, _options: ContentRpcRequestOptions, _descriptorOrOverrides: | DescriptorOverrides, _keys: KeySetJSON): PresentationRpcResponse<{ content?: , size: number }> getContentDescriptor(_token: IModelTokenProps, _options: ContentRpcRequestOptions, _displayType: string, _keys: KeySetJSON, _selection: SelectionInfo | undefined): PresentationRpcResponse< | undefined> getContentSetSize(_token: IModelTokenProps, _options: ContentRpcRequestOptions, _descriptorOrOverrides: | DescriptorOverrides, _keys: KeySetJSON): PresentationRpcResponse<number> getDisplayLabel(_token: IModelTokenProps, _options: LabelRpcRequestOptions, _key: InstanceKeyJSON): PresentationRpcResponse<string> Deprecated getDisplayLabelDefinition(_token: IModelTokenProps, _options: LabelRpcRequestOptions, _key: InstanceKeyJSON): PresentationRpcResponse<> getDisplayLabels(_token: IModelTokenProps, _options: LabelRpcRequestOptions, _keys: InstanceKeyJSON[]): PresentationRpcResponse<string[]> Deprecated getDisplayLabelsDefinitions(_token: IModelTokenProps, _options: LabelRpcRequestOptions, _keys: InstanceKeyJSON[]): PresentationRpcResponse<[]> getDistinctValues(_token: IModelTokenProps, _options: ContentRpcRequestOptions, _descriptor: , _keys: KeySetJSON, _fieldName: string, _maximumValueCount: number): PresentationRpcResponse<string[]> getFilteredNodePaths(_token: IModelTokenProps, _options: HierarchyRpcRequestOptions, _filterText: string): PresentationRpcResponse<[]> getNodePaths(_token: IModelTokenProps, _options: HierarchyRpcRequestOptions, _paths: InstanceKeyJSON[][], _markedIndex: number): PresentationRpcResponse<[]> getNodes(_token: IModelTokenProps, _options: Paged<HierarchyRpcRequestOptions>, _parentKey?: NodeKeyJSON): PresentationRpcResponse<[]> getNodesAndCount(_token: IModelTokenProps, _options: Paged<HierarchyRpcRequestOptions>, _parentKey?: NodeKeyJSON): PresentationRpcResponse<{ count: number, nodes: [] }> getNodesCount(_token: IModelTokenProps, _options: HierarchyRpcRequestOptions, _parentKey?: NodeKeyJSON): PresentationRpcResponse<number> getSelectionScopes(_token: IModelTokenProps, _options: SelectionScopeRpcRequestOptions): PresentationRpcResponse<SelectionScope[]> loadHierarchy(_token: IModelTokenProps, _options: HierarchyRpcRequestOptions): PresentationRpcResponse<void> Beta Inherited methods Name Inherited from Description forward<T>(parameters: IArguments): Promise<T> RpcInterface Obtains the implementation result for an RPC operation. isVersionCompatible(backend: string, frontend: string): boolean Static RpcInterface Determines whether the backend version of an RPC interface is compatible (according to semantic versioning) with the frontend version of the interface. Properties Name Type Description interfaceName Static "PresentationRpcInterface" = "PresentationRpcInterface" The immutable name of the interface. interfaceVersion Static string The semantic version of the interface. Inherited properties Name Type Inherited from Description configuration RpcConfiguration RpcInterface The configuration for the RPC interface. Defined in presentation/common/src/PresentationRpcInterface.ts Line 92 Last Updated: 13 June, 2024