Hierarchy

Constructors

Properties

The client instance

parseItem: ((config, status, itemId) => MultiRoom)

Type declaration

systemType: SystemType

Methods

  • Returns a single trend by item id.

    Parameters

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Return a parsed trend item.

    Parameters

    • systemType: SystemType

      The system type.

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Returns all trends.

    Parameters

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend[]>

    Throws

    ClientError

  • Return parsed trends.

    Parameters

    • systemType: SystemType

      The system type.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend[]>

    Throws

    ClientError

  • Return a parsed trend.

    Parameters

    • systemType: SystemType

      The system type.

    • item: string

      The item.

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Sets the play list.

    Parameters

    • itemId: string

      The item id.

    • playListIndex: number

      The new play list index.

    Returns Promise<void>

  • Sets the previous song.

    Parameters

    • itemId: string

      The item id.

    Returns Promise<void>

  • Sets the volume.

    Parameters

    • itemId: string

      The item id.

    • volume: number

      The new volume.

    Returns Promise<void>

Generated using TypeDoc