subscribe

abstract fun subscribe(dataTypes: Set<D>)

Register to receive an update when data changes for a data typec. 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 datatype that is already subscribed to is requested, then this will be a no-op

Parameters

dataType

Type to unregister data update events for