Callback Integration
To receive event logs, integrate the Playback Event callback function in the Player SDK by attaching the logEvent
handler:
val player = UniPlayer.Builder(
... ,
PlayerConfig(
playLogger = object : PlayLogger {
override fun logEvent(eventName: String, properties: Map<string, any="Any">){
// do something
}
},
...
)
)