monitoring

fun monitoring(type: Logcat)

Make the monitoring logs all events to Logcat, using the default config.

Parameters

type

fun monitoring(endpointUrl: String, httpClient: HttpClient? = null, coroutineScope: CoroutineScope? = null)

Make the monitoring sends all events to a remote server.

Parameters

endpointUrl

The endpoint receiving monitoring messages.

httpClient

The HttpClient to use to send the events.

coroutineScope

The scope used to send the monitoring message.


Configure the monitoring for this player.

Parameters

Config

The type of the config to create.

Factory
type

The type of MonitoringMessageHandler to use.

createConfig

The configuration builder to create the MonitoringMessageHandler.