app / com.pzpg.ogr.api.request / RequestServer / downloadGraph
downloadGraph
suspend fun downloadGraph(guid:
String
, format:
GraphFormat
?, jwtToken:
String
):
File
?
Suspend method to download a file which representations a graph which has been recognitions by the server
Parameters
guid
- a guid of the uploaded image which we want to process
jwtToken
- access token gotten from refreshToken method or authorize
format
- recognized graph format which we want to take after processing
Exceptions
BadRequestException
-
UnauthorizedException
-
TimeOutException
-
RequestServerException
-
Return File temporary file (graph)
Author Władysław Jakołcewicz