Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAudio

Hierarchy

  • IAudio

Index

Properties

disable

disable: () => void

Type declaration

    • (): void
    • Returns void

enable

enable: () => void

Type declaration

    • (): void
    • Returns void

getDuration

getDuration: () => number

Type declaration

    • (): number
    • Returns number

isEnabled

isEnabled: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

isPaused

isPaused: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

new

new: (url: string, onPlayedCallback: TTSOnComplete, failureCallBack: TTSOnError, onLoadedCallBack: TTSOnReady) => IAudio

Type declaration

play

play: () => void

Type declaration

    • (): void
    • Returns void

release

release: () => void

Type declaration

    • (): void
    • Returns void

setVolume

setVolume: (volume: number) => void

Type declaration

    • (volume: number): void
    • Parameters

      • volume: number

      Returns void

stop

stop: () => void

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc