How do I add annotation to a custom UI when watching others share

Description
When using a custom UI, how should this side add annotation after entering a meeting and other members initiate a Shared operation

Which version?
5.2

Steps to reproduce the behavior:
1.B joins A’s meeting
2.A initiates the sharing operation; B watches the Shared content
3. How do I add annotation to Shared content
4. When I call startAnnotation, error = ZoomSDKError_WrongUsage. How should I deal with it?

Screenshots

Smartphone (please complete the following information):

  • Device: Mac
  • OS: 10.15

Hi @15604510000,

Thanks for the post. When using the Custom UI, you could leverage the interfaces in https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_customized_annotation_ctr.html to customize the annotation tool. Please note that the class ZoomSDKCustomizedAnnotationCtr only works in Custom UI and ZoomSDKAnnotationController only works in default UI. So the startAnnotation interface only works for the default UI, using it in Custom UI will result in wrong usage error.

Hope this helps. Thanks!

Thank you for your reply, ZoomSDKCustomizedAnnotationCtr comments how to start?