SoundBoard

actual class SoundBoard(context: Any?) : SoundBoardBuilder
actual class SoundBoard(context: Any?)
expect class SoundBoard(context: Any?) : SoundBoardBuilder

Creates a standard SoundBoard format to replicate across all platforms

Parameters

context

(Required for Android) provides Context for Composable Resources

See also

actual class SoundBoard(context: Any?) : SoundBoardBuilder
actual class SoundBoard(context: Any?) : SoundBoardBuilder
actual class SoundBoard(context: Any?) : SoundBoardBuilder

Constructors

Link copied to clipboard
actual constructor(context: Any?)
actual constructor(context: Any?)
expect constructor(context: Any?)
actual constructor(context: Any?)
actual constructor(context: Any?)
actual constructor(context: Any?)

Properties

Link copied to clipboard
actual open override val mixer: MixerChannel

the Channel used to pass MixerChannel.play commands

actual open val mixer: MixerChannel
expect open override val mixer: MixerChannel

the Channel used to pass MixerChannel.play commands

actual open override val mixer: MixerChannel

the Channel used to pass MixerChannel.play commands

actual open override val mixer: MixerChannel

the Channel used to pass MixerChannel.play commands

actual open override val mixer: MixerChannel

the Channel used to pass MixerChannel.play commands

Link copied to clipboard
actual open override val soundBytes: MutableList<SoundByte>

a list of SoundByte values loaded by the user

actual open val soundBytes: MutableList<SoundByte>
expect open override val soundBytes: MutableList<SoundByte>

a list of SoundByte values loaded by the user

actual open override val soundBytes: MutableList<SoundByte>

a list of SoundByte values loaded by the user

actual open override val soundBytes: MutableList<SoundByte>

a list of SoundByte values loaded by the user

actual open override val soundBytes: MutableList<SoundByte>

a list of SoundByte values loaded by the user

Functions

Link copied to clipboard
open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

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

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

open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

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

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

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

Used to load a SoundByte onto a SoundBoard

open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

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

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

open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

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

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

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

Used to load a SoundByte onto a SoundBoard

open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

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

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

open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

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

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

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

Used to load a SoundByte onto a SoundBoard

open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

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

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

open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

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

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

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

Used to load a SoundByte onto a SoundBoard

open fun load(vararg soundByte: SoundByte)

Used to load one or many SoundBytes onto a SoundBoard

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

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

open fun load(soundBytes: List<SoundByte>)

Used to load a List of SoundBytes onto a SoundBoard

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

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

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

Used to load a SoundByte onto a SoundBoard

Link copied to clipboard
actual open override fun powerDown()

Used to release resources used by soundBytes, mixer, and other platform-specific resources

actual open fun powerDown()
expect open override fun powerDown()

Used to release resources used by soundBytes, mixer, and other platform-specific resources

actual open override fun powerDown()

Used to release resources used by soundBytes, mixer, and other platform-specific resources

actual open override fun powerDown()

Used to release resources used by soundBytes, mixer, and other platform-specific resources

actual open override fun powerDown()

Used to release resources used by soundBytes, mixer, and other platform-specific resources

Link copied to clipboard
actual open override fun powerUp()

Used to load the soundBytes into memory and begin the listener for the mixer channel

actual open fun powerUp()
expect open override fun powerUp()

Used to load the soundBytes into memory and begin the listener for the mixer channel

actual open override fun powerUp()

Used to load the soundBytes into memory and begin the listener for the mixer channel

actual open override fun powerUp()

Used to load the soundBytes into memory and begin the listener for the mixer channel

actual open override fun powerUp()

Used to load the soundBytes into memory and begin the listener for the mixer channel