setUniversalVolumeInstance

fun setUniversalVolumeInstance(universalVolume: UniversalVolume)

Set a single instance of UniversalVolume to be used by GesturedeckMedia.

Before using this method, make sure to add the UniversalVolume library in your app.

Parameters

universalVolume

An instance of UniversalVolume to be used by GesturedeckMedia.

Throws

if UniversalVolume is not imported in the project.