Sync

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

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 are sent