toggle menu
Core
0.6.1
android
common
ios
js
jvm
switch theme
search in API
Core
/
io.telereso.kmp.core.test
/
Resource
Resource
android
common
ios
js
jvm
actual
class
Resource
(
val
name
:
String
)
expect
class
Resource
(
name
:
String
)
actual
class
Resource
(
val
name
:
String
)
actual
class
Resource
(
val
name
:
String
)
actual
class
Resource
(
val
name
:
String
)
Members
Members & Extensions
Constructors
Resource
Link copied to clipboard
android
common
ios
js
jvm
actual
constructor
(
name
:
String
)
expect
constructor
(
name
:
String
)
actual
constructor
(
name
:
String
)
actual
constructor
(
name
:
String
)
actual
constructor
(
name
:
String
)
Properties
file
Link copied to clipboard
android
ios
jvm
private
val
file
:
File
private
val
file
:
CPointer
<
FILE
>
?
private
val
file
:
File
name
Link copied to clipboard
android
common
ios
js
jvm
actual
val
name
:
String
expect
val
name
:
String
actual
val
name
:
String
actual
val
name
:
String
actual
val
name
:
String
path
Link copied to clipboard
ios
js
private
val
path
:
String
?
private
val
path
:
String
path
Parts
Link copied to clipboard
ios
private
val
pathParts
:
List
<
String
>
Functions
exists
Link copied to clipboard
android
common
ios
js
jvm
actual
suspend
fun
exists
(
)
:
Boolean
expect
suspend
fun
exists
(
)
:
Boolean
actual
suspend
fun
exists
(
)
:
Boolean
actual
suspend
fun
exists
(
)
:
Boolean
actual
suspend
fun
exists
(
)
:
Boolean
exists
Task
Link copied to clipboard
fun
Resource
.
existsTask
(
)
:
Task
<
Boolean
>
load
Json
File
Link copied to clipboard
js
suspend
fun
loadJsonFile
(
filePath
:
String
)
:
String
?
read
Text
Link copied to clipboard
android
common
ios
js
jvm
actual
suspend
fun
readText
(
)
:
String
expect
suspend
fun
readText
(
)
:
String
actual
suspend
fun
readText
(
)
:
String
actual
suspend
fun
readText
(
)
:
String
actual
suspend
fun
readText
(
)
:
String
read
Text
Task
Link copied to clipboard
fun
Resource
.
readTextTask
(
)
:
Task
<
String
>
write
Text
Link copied to clipboard
android
common
ios
js
jvm
actual
suspend
fun
writeText
(
text
:
String
)
expect
suspend
fun
writeText
(
text
:
String
)
actual
suspend
fun
writeText
(
text
:
String
)
actual
suspend
fun
writeText
(
text
:
String
)
actual
suspend
fun
writeText
(
text
:
String
)
write
Text
Task
Link copied to clipboard
fun
Resource
.
writeTextTask
(
text
:
String
)
:
Task
<
Unit
>