accept Transfer
fun acceptTransfer(context: Context, transfer: Transfer, mediaTypes: List<MediaType>? = null)
Content copied to clipboard
Accept an incoming transfer.
Parameters
context
Context used to capture local media.
transfer
Transfer info that is going to be accepted.
media Types
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.