API reference

HorizonPlatformJavaBridge

Updated: Jun 23, 2025

HorizonPlatformJavaBridge

open class HorizonPlatformJavaBridge : HorizonPlatformBridge

Constructors

NameSummary
HorizonPlatformJavaBridge
constructor()

Functions

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