Companion

object Companion

Constants for LinkLossPolicy.

Properties

Link copied to clipboard

The restarts the policies allow: 1 to 3.

Functions

Link copied to clipboard

End: the read ends at the first lost link. A short form for Swift and Java, where the nested object is awkward to name: LinkLossPolicy.end().

Link copied to clipboard

ReadAgain with maxRestarts restarts: LinkLossPolicy.readAgain(2).

Link copied to clipboard
fun resume(maxRestarts: Int): LinkLossPolicy

Resume with maxRestarts restarts: LinkLossPolicy.resume(2), the default of the platform read settings.