Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Sounds

Hierarchy

  • Sounds

Index

Methods

Methods

get

  • get(params: { soundId: string }, callback: (err: Error, sound: Sound) => void): void
  • get(params: { soundId: string }): Promise<Sound>
  • Get a sounds details.

    Parameters

    • params: { soundId: string }
      • soundId: string

        Sounds id.

    • callback: (err: Error, sound: Sound) => void
        • (err: Error, sound: Sound): void
        • Parameters

          • err: Error
          • sound: Sound

          Returns void

    Returns void

  • Get a sounds details.

    Parameters

    • params: { soundId: string }
      • soundId: string

        Sounds id.

    Returns Promise<Sound>

list

  • list(params: { format?: string; lang?: string }, callback: (err: Error, sounds: Sound[]) => void): void
  • list(callback: (err: Error, sounds: Sound[]) => void): void
  • list(params?: { format?: string; lang?: string }): Promise<Sound[]>
  • List all sounds.

    Parameters

    • params: { format?: string; lang?: string }
      • Optional format?: string
      • Optional lang?: string
    • callback: (err: Error, sounds: Sound[]) => void
        • (err: Error, sounds: Sound[]): void
        • Parameters

          • err: Error
          • sounds: Sound[]

          Returns void

    Returns void

  • List all sounds.

    Parameters

    • callback: (err: Error, sounds: Sound[]) => void
        • (err: Error, sounds: Sound[]): void
        • Parameters

          • err: Error
          • sounds: Sound[]

          Returns void

    Returns void

  • List all sounds.

    Parameters

    • Optional params: { format?: string; lang?: string }
      • Optional format?: string
      • Optional lang?: string

    Returns Promise<Sound[]>

Generated using TypeDoc