SoundEventDetectorBuilder
Builder for SoundEventDetector.
| Type | Name | Interface Description |
|---|---|---|
| Functions | constructor() | |
| Functions | build(): SoundEventDetector | null | • Function: Build the SoundEventDetector. Note that the detector should be built in onInit, otherwise it will return null. |
Examples
constructor()
let obj = new APJS.SoundEventDetectorBuilder();
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use SoundEventDetectorBuilder here
}
onUpdate(deltaTime: number) {
}
}