android-components / mozilla.components.feature.sendtab / SendTabUseCases

SendTabUseCases

class SendTabUseCases (source)

Contains use cases for sending tabs to devices related to the firefox-accounts.

Parameters

accountManager - The AccountManager on which we want to retrieve our devices.

coroutineContext - The Coroutine Context on which we want to do the actual sending. By default, we want to do this on the IO dispatcher since it involves making network requests to the Sync servers.

Types

Name Summary
SendToAllUseCase class SendToAllUseCase
SendToDeviceUseCase class SendToDeviceUseCase

Constructors

Name Summary
<init> SendTabUseCases(accountManager: FxaAccountManager, coroutineContext: CoroutineContext = Dispatchers.IO)
Contains use cases for sending tabs to devices related to the firefox-accounts.

Properties

Name Summary
sendToAllAsync val sendToAllAsync: SendToAllUseCase
sendToDeviceAsync val sendToDeviceAsync: SendToDeviceUseCase