Umami Kotlin
Toggle table of contents
android
common
ios
js
jvm
linux
macos
mingw
wasmJs
Platform filter
android
common
ios
js
jvm
linux
macos
mingw
wasmJs
Switch theme
Search in API
Umami Kotlin
umami
/
dev.appoutlet.umami.util
Package-level
declarations
Functions
Functions
create
User
Agent
Link copied to clipboard
fun
createUserAgent
(
applicationName
:
String
=
"UmamiKmpSdk"
,
applicationVersion
:
String
=
"1.0.0"
,
platform
:
String
=
getPlatform()
,
platformVersion
:
String
=
"1.0"
,
architecture
:
String
=
"Unknown"
)
:
String
Creates a user agent string for HTTP requests.
get
Platform
Link copied to clipboard
android
ios
js
jvm
linux
macos
mingw
wasmJs
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String
actual
fun
getPlatform
(
)
:
String