JavaScriptHelper

object JavaScriptHelper

Functions

Link copied to clipboard
fun controlFocus(direction: Direction): String
Link copied to clipboard
fun controlScroll(direction: Direction): String
Link copied to clipboard
fun hideLyrics(): String
Link copied to clipboard
fun onDuxReceived(dialogRequestId: String, template: String): String
Link copied to clipboard
fun onPlayEnd(): String
Link copied to clipboard
fun onPlayPaused(showController: Boolean): String
Link copied to clipboard
fun onPlayStarted(): String
Link copied to clipboard
fun onPlayStopped(): String
Link copied to clipboard
fun parseBoolean(param: String): Boolean
Link copied to clipboard
fun parseRepeatMode(param: String): AudioPlayerAgentInterface.RepeatMode
Link copied to clipboard
fun setCurrentTime(offset: Long): String
Link copied to clipboard
fun setEndTime(duration: Long): String
Link copied to clipboard
fun setProgress(progress: Float): String
Link copied to clipboard
fun showLyrics(): String
Link copied to clipboard
fun updateClientInfo(clientInfoString: String): String
Link copied to clipboard
fun updateDisplay(metadata: String): String
Link copied to clipboard
fun updatePlayerMetadata(metadata: String): String

Properties

Link copied to clipboard
const val FUNC_ON_CONTROL_RESULT: String
Link copied to clipboard
const val PARAM_COUNT_ON_CONTROL_RESULT: Int = 2
Link copied to clipboard
const val PARAM_FOCUS: String
Link copied to clipboard
const val PARAM_SCROLL: String
Link copied to clipboard
const val RESULT_FAILED: String
Link copied to clipboard
const val RESULT_FOCUS: String
Link copied to clipboard
const val RESULT_SCROLL: String
Link copied to clipboard
const val RESULT_SUCCEEDED: String