toggle menu
Dermato.AI
androidJvm
switch theme
search in API
Dermato.AI
/
com.dermatoai.model
/
AnalyzeViewModel
Analyze
View
Model
class
AnalyzeViewModel
@
Inject
constructor
(
analyzeRepository
:
AnalyzeRepository
,
oauthPreferences
:
OauthPreferences
)
:
ViewModel
Members
Constructors
Analyze
View
Model
Link copied to clipboard
@
Inject
constructor
(
analyzeRepository
:
AnalyzeRepository
,
oauthPreferences
:
OauthPreferences
)
Properties
history
Link copied to clipboard
val
history
:
LiveData
<
List
<
AnalyzeHistoryData
>
>
Functions
current
Analyze
Image
Link copied to clipboard
fun
currentAnalyzeImage
(
image
:
Uri
)
:
LiveData
<
Resource
<
DiagnoseRecord
>
>
get
Analyze
Result
Link copied to clipboard
fun
getAnalyzeResult
(
id
:
Int
)
:
LiveData
<
AnalyzeImageInfo
?
>