Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TwitchSDK

Hierarchy

  • TwitchSDK

Index

Properties

purchases

Methods

listen

  • listen(topic: string, callback: function): any
  • Parameters

    • topic: string
    • callback: function
        • (t: any, datatype: string, message: string): void
        • Parameters

          • t: any
          • datatype: string
          • message: string

          Returns void

    Returns any

onAuthorized

  • onAuthorized(cb: function): void
  • Parameters

    Returns void

onContext

  • onContext(cb: function): void
  • Parameters

    Returns void

onPositionChanged

  • onPositionChanged(callback: function): void
  • Parameters

    • callback: function

    Returns void

onVisibilityChanged

  • onVisibilityChanged(callback: function): void
  • Parameters

    Returns void

send

  • send(target: string, dataType: string, event: object): any
  • Parameters

    • target: string
    • dataType: string
    • event: object
      • data: object
      • event: string

    Returns any

unlisten

  • unlisten(topic: string, callback: function): any
  • Parameters

    • topic: string
    • callback: function
        • (t: any, datatype: string, message: string): void
        • Parameters

          • t: any
          • datatype: string
          • message: string

          Returns void

    Returns any

Generated using TypeDoc