Builder
Builder for AdasisDataSendingConfig.
Parameters
messageBinaryFormat
Binary format in which ADASIS message will be sent
Constructors
Functions
Link copied to clipboard
Build the AdasisDataSendingConfig
Link copied to clipboard
fun enableRetransmission(enableRetransmission: Boolean): AdasisDataSendingConfig.Builder
Content copied to clipboard
If true, retransmission will be enabled. (package will be appended with retransmission data, messages from previous cycles)
Link copied to clipboard
fun messageIntervalMs(messageIntervalMs: Int): AdasisDataSendingConfig.Builder
Content copied to clipboard
Interval between sending messages in milliseconds
Link copied to clipboard
fun messagesInPackage(messagesInPackage: Int): AdasisDataSendingConfig.Builder
Content copied to clipboard
Number of messages in one package (one message is 8 bytes)
Link copied to clipboard
fun metadataCycleSeconds(metadataCycleSeconds: Int): AdasisDataSendingConfig.Builder
Content copied to clipboard
Time in seconds between repetition of META-DATA message
Link copied to clipboard
fun retransmissionMeters(retransmissionMeters: Int): AdasisDataSendingConfig.Builder
Content copied to clipboard
After passing this distance, messages will not be retransmitted
Link copied to clipboard
fun treeTrailingLength(treeTrailingLength: Int): AdasisDataSendingConfig.Builder
Content copied to clipboard
The trailing length of the path tree, relative to the map-matched position, in the ADASIS provider