kmp-toolkit
Toggle table of contents
android
common
ios
jvm
wasmJs
Target filter
android
common
ios
jvm
wasmJs
Switch theme
Search in API
Skip to content
kmp-toolkit
llm-chat
/
com.siddharth.kmp.llmchat
/
SecureKeyStore
/
setKey
set
Key
android
common
ios
jvm
wasmJs
actual
fun
setKey
(
provider
:
ProviderId
,
apiKey
:
String
?
)
(
source
)
Saves
apiKey
for
provider
, or clears it when
apiKey
is
null
/blank.
expect
fun
setKey
(
provider
:
ProviderId
,
apiKey
:
String
?
)
(
source
)
Saves
apiKey
for
provider
, or clears it when
apiKey
is
null
/blank.
actual
fun
setKey
(
provider
:
ProviderId
,
apiKey
:
String
?
)
(
source
)
Saves
apiKey
for
provider
, or clears it when
apiKey
is
null
/blank.
actual
fun
setKey
(
provider
:
ProviderId
,
apiKey
:
String
?
)
(
source
)
Saves
apiKey
for
provider
, or clears it when
apiKey
is
null
/blank.
actual
fun
setKey
(
provider
:
ProviderId
,
apiKey
:
String
?
)
(
source
)
Saves
apiKey
for
provider
, or clears it when
apiKey
is
null
/blank.