addListener

abstract fun addListener(listener: Session.Listener)

Add a listener to the session.

Parameters

listener

the listener to add.