HorizonOptions

constructor(elementTypes: List<HorizonElementType>, mainPathSearchOptions: MainPathSearchOptions, subPathSearchOptions: List<SubPathSearchOptions> = listOf(), numberOfPaths: Int = DEFAULT_NUMBER_OF_PATHS)

Parameters

elementTypes

Types of horizon element of interest.

mainPathSearchOptions

Search options for the main path.

subPathSearchOptions

Search options for sub-path levels. The container element at index i encodes search options for path level i + 1. The horizon is extended to the deepest sub-path level, as specified by the search options for sub-path levels.

numberOfPaths

Maximum number of paths the client can receive. The default value is DEFAULT_NUMBER_OF_PATHS.