MeetingShare_StartAppShare example

Description
Can somebody please provide an example in electron how to share an app with electron-sdk?

The function MeetingShare_StartAppShare says:

@param {String} zn_hShare_app Specifies which the window is to be shared (require hexadecimal)

However there is no function to get the list of available apps. Could somebody please explain how this function is supposed to be used in Electron?

I tried pid, hex(pid), px${hex(pid)} but none of them seems to work.

Which version?
v5.2.41762.1027

To Reproduce(If applicable)
Steps to reproduce the behavior:

zoommeeting = zoomsdk.GetMeeting();
zoommeetingshare = zoommeeting.GetMeetingShare();
zoommeetingshare.MeetingShare_StartAppShare({
      zn_hShare_app: `???`
    },
  );

Smartphone (please complete the following information):

  • Device: Dell
  • OS: Windows 10

The ideal solution would be if Zoom SDK could provide a method to get all the running applications which are available for sharing, just like in the Zoom app itself.

It already works like that for the lists of microphones, speakers and camera devices. Would be good for consistency. Otherwise the developers will need to install 3rd-party native windows/mac libraries.

I would be very happy to support you testing this functionality.