IMusicPlayer

The interface of the Music Player feature

NameSpace
Accessibility

Ami.BroAudio

public

Description

This is returned by the AsBGM() method. It's basically the same as IAudioPlayer, but it includes a SetTransition() method and excludes the AsBGM() method.

Public Methods

Method
Return
Parameters
Description

SetTransition

Transition transition

Set the transition mode that the music player will apply when playing the next BGM

Transition transition, float fadeTime

Same as above, but can override the fade time set in LibarayManager

Transition transition, StopMode stopMode

Same as above, but can specify the StopMode

Transition transition, StopMode stopMode, float fadeTime

Same as above with all the parameters

Last updated