Stopping Sharing
Function
This API is used to end sharing in a meeting. The UI of the SDK has implemented the function of stopping sharing. You can call this API to stop sharing on a third-party application. Call this API only when you are sharing content.
Function Prototype
stopShare(onStopShareResult?: (ret: SDKERR, reason: string) => void): voidstopShare(onStopShareResult?: (ret: SDKERR, reason: string) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onStopShareResult | Yes | (ret: SDKERR, reason: string) => void | Callback of stopping sharing. |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot