Add Android read aloud support
This commit is contained in:
1 parent
26343cb8a1
commit
11c8f7c6e4
9 files changed
+745
-107
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package net.sergeych.toread
|
||||
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
actual object ReadAloudPlatform {
|
||||
actual val isSupported: Boolean = false
|
||||
private val mutableState = MutableStateFlow(ReadAloudState())
|
||||
actual val state: StateFlow<ReadAloudState> = mutableState
|
||||
|
||||
actual fun prepare(bookTitle: String, sentences: List<ReadAloudSentence>, startIndex: Int) = Unit
|
||||
actual fun play() = Unit
|
||||
actual fun stop() = Unit
|
||||
actual fun skip(delta: Int) = Unit
|
||||
}
|
||||
Reference in new issue
Block a user