This commit is contained in:
Hugh Nimmo-Smith 2022-10-18 00:35:43 +01:00
parent a3126b0026
commit 8a62dfb34a
1 changed files with 4 additions and 0 deletions

View File

@ -22,11 +22,15 @@ import org.matrix.android.sdk.api.rendezvous.model.RendezvousTransportDetails
interface RendezvousTransport { interface RendezvousTransport {
var ready: Boolean var ready: Boolean
@Throws(RendezvousError::class) @Throws(RendezvousError::class)
suspend fun details(): RendezvousTransportDetails suspend fun details(): RendezvousTransportDetails
@Throws(RendezvousError::class) @Throws(RendezvousError::class)
suspend fun send(contentType: MediaType, data: ByteArray) suspend fun send(contentType: MediaType, data: ByteArray)
@Throws(RendezvousError::class) @Throws(RendezvousError::class)
suspend fun receive(): ByteArray? suspend fun receive(): ByteArray?
suspend fun close() suspend fun close()
} }