Sync

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

See also

Constructors

Link copied to clipboard
fun Sync(replyTo: Messenger)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toMessage(): Message

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

Properties

Link copied to clipboard
val id: Int
Link copied to clipboard
val replyTo: Messenger

Messenger where replies to this message is sent