onChange

abstract fun onChange(volume: Int)

This function is called when the volume is changed.

Parameters

volume

The new volume value.