HorizonOptions

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

Parameters

elementTypes

Types of horizon elements of interest.

mainPathSearchOptions

Search options for the main path.

subPathSearchOptions

Search options for sub-paths, specified per path level. The list element at index i encodes search options for path level i + 1. The horizon is extended to the deepest path level, as determined by this parameter. The default value is an empty list.

numberOfPaths

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