toggle menu
Drifter
1.0.0-alpha02
androidJvm
switch theme
search in API
integration
/
dev.teogor.drifter.integration.core
/
PlayerPrefs
Player
Prefs
open
class
PlayerPrefs
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
contains
Link copied to clipboard
operator
fun
contains
(
key
:
String
?
)
:
Boolean
get
Boolean
Link copied to clipboard
fun
getBoolean
(
key
:
String
?
,
defValue
:
Boolean
)
:
Boolean
get
Float
Link copied to clipboard
fun
getFloat
(
key
:
String
?
,
defValue
:
Float
)
:
Float
get
Int
Link copied to clipboard
fun
getInt
(
key
:
String
?
,
defValue
:
Int
)
:
Int
get
Long
Link copied to clipboard
fun
getLong
(
key
:
String
?
,
defValue
:
Long
)
:
Long
get
String
Link copied to clipboard
fun
getString
(
key
:
String
?
,
defValue
:
String
?
)
:
String
?
set
Boolean
Link copied to clipboard
fun
setBoolean
(
key
:
String
?
,
value
:
Boolean
)
set
Float
Link copied to clipboard
fun
setFloat
(
key
:
String
?
,
value
:
Float
)
set
Int
Link copied to clipboard
fun
setInt
(
key
:
String
?
,
value
:
Int
)
set
Long
Link copied to clipboard
fun
setLong
(
key
:
String
?
,
value
:
Long
)
set
String
Link copied to clipboard
fun
setString
(
key
:
String
?
,
value
:
String
?
)
toggle
Boolean
Link copied to clipboard
fun
toggleBoolean
(
key
:
String
?
,
defValue
:
Boolean
)
:
Boolean