Skip to content

AudioAPI reference

Class MusicHandle

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

An opaque handle to loaded, loopable music.

C#
public sealed class MusicHandle

Inheritance

object ← MusicHandle

Constructors

MusicHandle(int, string)

An opaque handle to loaded, loopable music.

C#
public MusicHandle(int id, string name)

Parameters

id int

name string

Properties

Id

Identifier assigned by the audio device that loaded the music.

C#
public int Id { get; }

Property Value

int

Name

The name the music was registered under.

C#
public string Name { get; }

Property Value

string