Class HTMLAudioPlugin

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): HTMLAudioPlugin

Returns

HTMLAudioPlugin

Properties

public static MAX_INSTANCES: number

public defaultNumChannels: number

public enableIOS: boolean

Methods

public create(src: string): SoundInstance

Parameters

  • src: string

Returns

SoundInstance

public isPreloadStarted(src: string): boolean

Parameters

  • src: string

Returns

boolean

public static isSupported(): boolean

Returns

boolean

public preload(src: string, instance: Object)

Parameters

  • src: string
  • instance: Object

public register(src: string, instances: number): Object

Parameters

  • src: string
  • instances: number

Returns

Object

public removeAllSounds()

public removeSound(src: string)

Parameters

  • src: string