Rename parameter type for code clarity

This commit is contained in:
Benoit Marty 2020-03-06 10:10:16 +01:00
parent 2d456d93a7
commit be5e6eaa93

View file

@ -18,11 +18,11 @@ package im.vector.matrix.android.internal.crypto.verification
import im.vector.matrix.android.api.session.events.model.Content
import im.vector.matrix.android.internal.crypto.model.rest.SendToDeviceObject
interface VerificationInfo<ValidObject> {
interface VerificationInfo<ValidObjectType> {
fun toEventContent(): Content? = null
fun toSendToDeviceObject(): SendToDeviceObject? = null
fun asValidObject(): ValidObject?
fun asValidObject(): ValidObjectType?
/**
* String to identify the transaction.