API reference
API reference
Select your platform
No SDKs available
No versions available

HorizonPlatformBridge

Updated: Aug 26, 2025

HorizonPlatformBridge

interface HorizonPlatformBridge

Functions

NameSummary
getGlobalSessionId
abstract fun getGlobalSessionId(): Long
getMessageCount
abstract fun getMessageCount(sessionId: Long): Int
logEvent
abstract fun logEvent(eventType: String, eventDataString: String)
makeRequest
abstract fun makeRequest(moduleName: String, requestName: String, version: Int, requestData: String, cookie: Int): Long
makeSession
abstract fun makeSession(moduleName: String, requestName: String, version: Int, requestData: String, cookie: Int): Long
popMessage
abstract fun popMessage(sessionId: Long, yield: Boolean): Message
setup
abstract fun setup(appId: String)
stopSession
abstract fun stopSession(sessionId: Long)
tearDown
abstract fun tearDown()
Did you find this page helpful?
Thumbs up icon
Thumbs down icon