buildDeviceResponse
suspend fun buildDeviceResponse(sessionTranscript: DataItem, status: Int, eReaderKey: EcPublicKey? = null, version: String? = null, builderAction: suspend DeviceResponse.Builder.() -> Unit): DeviceResponse
Builds a DeviceResponse.
Return
Parameters
sessionTranscript
the session transcript to use.
status
the status to use in the response, for example STATUS_OK.
eReaderKey
the ephemeral reader key or null if not using session encryption.
version
the version to use or null to automatically select the version.
builderAction
the builder action.