HorizonOptions

fun HorizonOptions(elementTypes: List<HorizonElementType>, mainPathSearchOptions: MainPathOptions, subPathSearchOptions: List<SubPathOptions> = listOf(), numberOfPaths: Int = 1)

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 will be 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.