Skip to content

Commit 76ef43c

Browse files
committed
document platform class
Signed-off-by: Adam Ratzman <[email protected]>
1 parent 514c38a commit 76ef43c

File tree

2 files changed

+6
-0
lines changed
  • src
    • commonMain/kotlin/com.adamratzman.spotify/utils
    • jvmMain/kotlin/com/adamratzman/spotify/utils

2 files changed

+6
-0
lines changed

src/commonMain/kotlin/com.adamratzman.spotify/utils/Platform.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2020; Original author: Adam Ratzman */
22
package com.adamratzman.spotify.utils
33

4+
/**
5+
* Actual platforms that this program can be run on.
6+
*/
47
public enum class Platform {
58
JVM,
69
ANDROID,
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2020; Original author: Adam Ratzman */
22
package com.adamratzman.spotify.utils
33

4+
/**
5+
* The actual platform that this program is running on.
6+
*/
47
public actual val platform: Platform = Platform.JVM

0 commit comments

Comments
 (0)