ClientParams

data class ClientParams(var sendDefinedAnimationInfoOnConnection: Boolean = true, var sendRunningAnimationInfoOnConnection: Boolean = true, var sendSectionInfoOnConnection: Boolean = true, var sendStripInfoOnConnection: Boolean = true, var sendAnimationStart: MessageFrequency = MessageFrequency.IMMEDIATE, var sendAnimationEnd: MessageFrequency = MessageFrequency.IMMEDIATE, var sendSectionCreation: MessageFrequency = MessageFrequency.IMMEDIATE, var sendLogs: Boolean = false, var bufferedMessageInterval: Long = 500) : SendableData

Settings for a server-client connection.

This should be sent by the client to the server to initialize the connection.

Constructors

Link copied to clipboard
constructor(sendDefinedAnimationInfoOnConnection: Boolean = true, sendRunningAnimationInfoOnConnection: Boolean = true, sendSectionInfoOnConnection: Boolean = true, sendStripInfoOnConnection: Boolean = true, sendAnimationStart: MessageFrequency = MessageFrequency.IMMEDIATE, sendAnimationEnd: MessageFrequency = MessageFrequency.IMMEDIATE, sendSectionCreation: MessageFrequency = MessageFrequency.IMMEDIATE, sendLogs: Boolean = false, bufferedMessageInterval: Long = 500)

Properties

Link copied to clipboard

If any data is set to be sent in regular intervals (MessageFrequency.INTERVAL), how long in milliseconds should the server wait between sends?

Link copied to clipboard

Should the server send a message whenever an animation is stopped? (See MessageFrequency)

Link copied to clipboard

Should the server send a message whenever a new animation is started? (See MessageFrequency)

Link copied to clipboard

Should the server send information about all supported animations to the client when this is received?

Link copied to clipboard

Should the server send log outputs to the client?

Link copied to clipboard

Should the server send information about all currently running animations to the client when this is received?

Link copied to clipboard

Should the server send a message whenever a new strip section is created? (See MessageFrequency)

Link copied to clipboard

Should the server send information about all currently defined strip sections to the client when this is received?

Link copied to clipboard

Should the server send information about the strip to the client when this is received?

Functions

Link copied to clipboard
open fun json(): ByteArray
Link copied to clipboard
open fun jsonString(): String
Link copied to clipboard
Link copied to clipboard