Options
All
  • Public
  • Public/Protected
  • All
Menu

反馈SDK

Hierarchy

Index

Constructors

constructor

Properties

Protected _bindedCustomEventHandlers

_bindedCustomEventHandlers: CustomEventHandlers = ...

绑定了 this 上下文的 message 以外事件处理器

Protected _bindedMsgHandlers

_bindedMsgHandlers: MsgHandlers = ...

绑定了 this 上下文的 msg 处理器

Protected _bindedSocketIOEventsHandlers

_bindedSocketIOEventsHandlers: CustomEventHandlers = ...

socket.io 事件处理

Protected _liveApi

_liveApi: default

直播后台 api ajax 工具

Protected _otherApi

_otherApi: default

其他 api ajax 工具

Protected _watchApi

_watchApi: default

观看页接口工具

events

events: typeof feedBackEvents

反馈模块事件

feedDetailed

feedDetailed: string

额外反馈的详情

feedTypeId

feedTypeId: number

反馈类型ID

feedTypeLabel

feedTypeLabel: string

反馈类型描述

socketIOEvents

socketIOEvents: typeof SocketIOEvents = ...

socket.io 原生事件名称

Accessors

Protected SDKEventEmitter

  • get SDKEventEmitter(): EventEmitter
  • Returns EventEmitter

Methods

Protected asyncGetXAuthToken

  • asyncGetXAuthToken(data: asyncGetterGeneratorParams): Promise<unknown>
  • Parameters

    • data: asyncGetterGeneratorParams

    Returns Promise<unknown>

bindSocketIOEvents

  • bindSocketIOEvents(): void

destroy

  • destroy(): void
  • 清除反馈模块逻辑

    Returns void

feedbackSave

  • 提交反馈信息

    Parameters

    • params: SubmitInfo

      提交反馈的具体信息数据

    Returns Promise<SubmitInfoRes>

    Promise

getAppPendantList

getcode

  • 生成验证码

    Returns Promise<SubmitInfoRes>

    Promise

off

  • 取消订阅事件

    Parameters

    Returns FeedBack

    this

on

  • 订阅事件

    Parameters

    Returns FeedBack

    this

trackLog

  • trackLog(data: ITrackEventData): Promise<void>
  • Parameters

    • data: ITrackEventData

    Returns Promise<void>

unbindCustomEvent

unbindEventHandlers

Protected wrapCustomHandlers

Protected wrapSocketIOEventHandlers

Generated using TypeDoc