FileTrack

data class FileTrack(var path: String, val loop: Boolean = true) : Track

A track from a file at a specified path. When loop is set true the track should be looped on playback.

Constructors

Link copied to clipboard
constructor(path: String, loop: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val loop: Boolean = true

Specifies if the audio should be looped.

Link copied to clipboard