android-components / mozilla.components.service.fxa / FxaDeviceConstellation / sendEventToDeviceAsync

sendEventToDeviceAsync

fun sendEventToDeviceAsync(targetDeviceId: String, outgoingEvent: DeviceEventOutgoing): Deferred<Boolean> (source)

Overrides DeviceConstellation.sendEventToDeviceAsync

Send an event to a specified device.

Parameters

targetDeviceId - A device ID of the recipient.

outgoingEvent - An event to send.

Return A Deferred that will be resolved with a success flag once operation is complete.