Skip to main content

SoundEventResult

Result of sound event detection.

TypeNameInterface Description
Variablessimilarity: number

Function: sound event similarity

Variablestype: SoundEventType

Function: sound event type

Functionsconstructor(type: SoundEventType, similarity: number)

Examples

constructor(type: SoundEventType, similarity: number)

let obj = new APJS.SoundEventResult();

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use SoundEventResult here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies