Package com.kynetics.uf.android.api

Types

Link copied to clipboard
enum ApiCommunicationVersion : Enum<ApiCommunicationVersion>

Enum class that represents all supported api communication versions.

Link copied to clipboard
sealed class Communication

Class that maps all messages that are exchanged with the com.kynetics.uf.android.UpdateFactoryService

Link copied to clipboard
object UFServiceCommunicationConstants

This class contains all communication constants

Link copied to clipboard
data class UFServiceConfiguration(    val tenant: String,     val controllerId: String,     val retryDelay: Long,     val url: String,     val targetToken: String,     val gatewayToken: String,     isApiMode: Boolean,     isEnable: Boolean,     val isUpdateFactoryServe: Boolean,     val targetAttributes: Map<String, String>) : Serializable

This class represent the com.kynetics.uf.android.UpdateFactoryService's configuration

Link copied to clipboard
object UFServiceInfo
Link copied to clipboard
class UFServiceMessage(    val eventName: String,     val oldState: String,     val currentState: String,     val suspend: UFServiceMessage.Suspend) : Serializable

This class represents the service's state (api version 0.1)

Functions

Link copied to clipboard
fun Message.toOutV1Message(): Communication.V1.Out

Transform an instance of android.os.Message to Communication.V1.Out