load

open fun load(soundName: String, localPath: String)

Used to load a SoundByte onto a SoundBoard

Parameters

soundName

the name of the sound, used to play the sound later

localPath

the URI String of the file location


open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

Parameters

soundByte

one or many SoundByte objects


open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

Parameters

soundBytes

a List of SoundByte objects


open fun load(soundByte: Map<String, String>)

Used to load a Map of names and URI String values onto a SoundBoard

Parameters

soundBytes

a Map of SoundByte names and localPath Strings


open fun load(soundByte: Pair<String, String>)

Used to load a Pair for name and URI String values onto a SoundBoard

Parameters

soundBytes

a Pair of a SoundByte name and localPath String