wiki.sine.space | sinespace

Scripting/SSceneBackgroundMusic

From wiki.sine.space
Revision as of 19:36, 27 December 2020 by Voidtech (Talk | contribs) (Added and defined all members (8) of SSceneBackgroundMusic)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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