AudioObjectPlayNow Method
|
Plays the specified audio.
Namespace:
(Default Namespace)
Assembly:
AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax public void PlayNow(
string audioID,
float delay = 0f,
float volume = 1f,
float startTime = 0f
)
Parameters
- audioID
- Type: SystemString
The audioID to be played. - delay (Optional)
- Type: SystemSingle
Start playing after this amount of seconds [Default = 0]. - volume (Optional)
- Type: SystemSingle
The volume [Default = 0]. - startTime (Optional)
- Type: SystemSingle
The start time [Default = 0].
Remarks See Also