In

sealed class In : Communication.V1

Class that maps all the messages that are sent to com.kynetics.uf.android.UpdateFactoryService

Types

Link copied to clipboard
class AddTargetAttributes(val targetAttributesWithPolicy: TargetAttributesWithPolicy) : Communication.V1.In

Class to build a message to add target attributes

Link copied to clipboard
class AuthorizationResponse(val granted: Boolean) : Communication.V1.In

Class to build a message to grant / deny an authorization

Link copied to clipboard
class ConfigureService(val conf: UFServiceConfiguration) : Communication.V1.In

Class to build a message to configure the service. When the new configuration can be applied live, a UFServiceMessageV1.Event.ConfigurationUpdated is notified. When the new configuration requires a restart of the service, a UFServiceMessageV1.Event.Stopped and a UFServiceMessageV1.Event.Started are notified.

Link copied to clipboard
class ConfigureServiceV2(val conf: UFServiceConfigurationV2) : Communication.V1.In

Class to build a message to configure the service. When the new configuration can be applied live, a UFServiceMessageV1.Event.ConfigurationUpdated is notified. When the new configuration requires a restart of the service, a UFServiceMessageV1.Event.Stopped and a UFServiceMessageV1.Event.Started are notified.

Link copied to clipboard
object ForcePing : Communication.V1.In

Class to build ForcePing message. When the service receives a force ping message it polls the server

Link copied to clipboard
class RegisterClient(val replyTo: Messenger) : Communication.V1.In.WithReplyTo

Class to build a message to subscribe a Messenger to the service notification system.

Link copied to clipboard
class Sync(val replyTo: Messenger) : Communication.V1.In.WithReplyTo

Class to build a sync message. When the service receives a sync message it replies with two messages, the first message contains the service state and the second message contains the service configuration

Link copied to clipboard
class UnregisterClient(val replyTo: Messenger) : Communication.V1.In.WithReplyTo

Class to build a message to unsubscribe a Messenger from the service notification system.

Link copied to clipboard
abstract class WithReplyTo(val replyTo: Messenger, val id: Int) : Communication.V1.In

Class that maps all messages that are sent to com.kynetics.uf.android.UpdateFactoryService that must receive a response.

Functions

Link copied to clipboard
open fun toMessage(): Message

Convert the object to the corresponding android.os.Message instance.

Properties

Link copied to clipboard
val id: Int

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard