Delegate

interface Delegate

Callback interface invoked when the SDK delegates control to the HOST app.

Functions

Link copied to clipboard

Called when the SDK disable audio ducking.

Link copied to clipboard
open fun getAudioVolumeListener(): Flow<Float>

Called when the SDK requests audio volume updates.

Link copied to clipboard

Called when the SDK requests TooltipHandler for specific Tooltip.

Link copied to clipboard
open fun onActionClicked(action: SLRAppHost.ActionClicked): Boolean

Called when the SDK Action was clicked. Returns false if you want to override default behavior. Otherwise returns true.

Link copied to clipboard

Called when the SDK Action visibility was changed.

Link copied to clipboard
open fun requestAudioDucking(level: Float)

Called when the SDK requests audio ducking.

Link copied to clipboard
open fun requestStream(id: String)

Called when the SDK requests to video stream.

Link copied to clipboard
open fun setAudioVolume(value: Float)

Called when the SDK requests to change audio volume.