subscribe

open override fun subscribe(dataTypes: Set<DataType>)

Register to receive an updates when data changes for a data type. New data will automatically be submitted to the Validic API for the currently logged in user. It is safe to call this multiple times with the same data type. When a data type that is already subscribed to is requested, then this will be a no-op

Parameters

dataTypes

Set of types to add a subscription for

Throws