Skip to content

AudioAPI reference

Class SoundHandle

Namespace: MicroEngine.Audio
Assembly: MicroEngine.Audio.dll
Guide: Audio

An opaque handle to a loaded sound effect.

C#
public sealed class SoundHandle

Inheritance

object ← SoundHandle

Constructors

SoundHandle(int, string)

An opaque handle to a loaded sound effect.

C#
public SoundHandle(int id, string name)

Parameters

id int

name string

Properties

Id

Identifier assigned by the audio device that loaded the sound.

C#
public int Id { get; }

Property Value

int

Name

The name the sound was registered under.

C#
public string Name { get; }

Property Value

string