setListener

fun setListener(listener: Premium.Listener)

Set the listener to be used when an event occurs.

Parameters

listener

the listener to use.