wiki.sine.space | sinespace

Difference between revisions of "Scripting/SSceneBackgroundMusic"

From wiki.sine.space
Jump to: navigation, search
(Added and defined all members (8) of SSceneBackgroundMusic)
(No difference)

Revision as of 19:36, 27 December 2020

Members

OnTrackChange

void OnTrackChange (Closure o)

Function will be called when track changes


OnUpcomingTrackChange

void OnUpcomingTrackChange (Closure o)

Function will be called when there's an upcoming track change


Play

void Play ()

Plays the radio stream


PlayMP3Stream

void PlayMP3Stream (string url)

Sets the given MP3 stream url as current stream


PlayVorbisStream

void PlayVorbisStream (string url)

Sets the given Vorbis stream url as current stream


Stop

void Stop ()

Stops playing the radio stream



Properties

Enabled

bool Enabled { get; set; }

Is this component Enabled?


URL

string URL { get; }

URL of the current stream