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 AuthorizationResponse(val granted: Boolean) : Communication.V1.In

Class use to build a message to grant / denied an authorization

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

Class use to build a message to configure the service

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

Class use to build ForcePing message. When the service receive a force ping message it pings the service

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

Class use 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 use to build a sync message. When the service receive a sync message it responses with two messages, the first message contains the service's state and the second message contains the service's configuration

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

Class use to build a message to unsubscribe a Messenger to 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