Setting the Sharing Permission
setShareScreenPermission
HWMBizSdk.getBizOpenApi().setShareScreenPermission(boolean hasPermission)
API Description
This API is used to set the sharing permission.
Precautions
The return value of the API only indicates whether the API is successfully called. The actual service processing result is returned in the corresponding callback function.
Method Definition
1 2 3 4 5 |
/** * Specifies whether the local device has the sharing permission. * @param hasPermission */ void setShareScreenPermission(boolean hasPermission); |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
hasPermission |
Yes |
boolean |
Whether sharing is allowed. |
Return Values
None
Sample Code
1
|
HWMBizSdk.getBizOpenApi().setShareScreenPermission(true); |
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