mpc-js
    Preparing search index...

    Class StickerCommands

    Index

    Constructors

    Methods

    • Deletes a sticker value from the specified object. If you do not specify a sticker name, all sticker values are deleted.

      Parameters

      • type: string
      • uri: string
      • Optionalname: string

      Returns Promise<void>

    • Searches the sticker database for stickers with the specified name, below the specified directory (uri). Returns a Map with the URIs of the matching songs as keys.

      Parameters

      • type: string
      • uri: string
      • name: string
      • Optionalvalue: string
      • operator: "=" | "<" | ">" = '='

      Returns Promise<Map<string, string>>

    • Reads a sticker value for the specified object.

      Parameters

      • type: string
      • uri: string
      • name: string

      Returns Promise<string>

    • Lists the stickers for the specified object. Returns a Map with sticker names as keys.

      Parameters

      • type: string
      • uri: string

      Returns Promise<Map<string, string>>

    • Adds a sticker value to the specified object. If a sticker item with that name already exists, it is replaced.

      Parameters

      • type: string
      • uri: string
      • name: string
      • value: string

      Returns Promise<void>