TIMSetGroupTopicChangedCallback

Introduction

Set group topic changed callback

Parameter details

Parameter name Parameter type Required Description
params TopicChangedParam yes Param of setting group topic changed callback

Returned template

Promise<any>

Return value details

name type description
data any return value

Code example


import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
import { TopicChangedParam } from "im_electron_sdk/dist/interfaces";

let param : TopicChangedParam = {
    callback: (data) => {}, 
    data: ''    
  }
timRenderInstance.TIMSetGroupTopicChangedCallback(param)

results matching ""

    No results matching ""