acceptTransfer

fun acceptTransfer(context: Context, transfer: Transfer, mediaTypes: List<MediaType>? = null)

Deprecated

Use acceptAttendedTransfer() instead, if backend version is 5.11.0 or higher

Replace with

acceptAttendedTransfer(onCompletion)

Accept an incoming transfer.

Parameters

context

Context used to capture local media.

transfer

Transfer info that is going to be accepted.

mediaTypes

List of media types that the transferee is going to use to invite the other callee. By default, the requested media types are the ones asked in the received transfer.