Updated on 2025-04-18 GMT+08:00

Querying Custom Buttons

API Description

This API is used to query the list of custom buttons.

Precautions

None

Method Definition

getCustomerButton():Promise<Result>

Return Values

For details about the result structure, see Table 1. For details about the result data, see the following table.

Table 1 Return values

Type

Description

customerButtonObj[]

List of custom buttons. For details about the data type, see Table 2.

Sample Code

/**
* Query the list of custom buttons.
*/
HWMeeting.getCustomerButton().then((data) => {
  // TODO: Display the result.
 }).catch((e) => {
  // Display the result.
  console.log(e.retCode+":"+e.retMsg);
});