Setting the Sharing Permission
setShareScreenPermission
API Description
This API is used to set the sharing permission.
Precautions
The return value of this API indicates whether the API is successfully called.
Method Definition
1
|
- (BOOL)setShareScreenPermission:(BOOL)isPermission; |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
isPermission |
Yes |
bool |
Whether sharing is allowed. |
Return Values
Type |
Description |
---|---|
BOOL |
If the API is called successfully, YES is returned. If the API fails to be called, NO is returned. |
Sample Code
1 2 |
/// Set the sharing permission. [[HWMSdk getOpenApi] setShareScreenPermission:isPermission]; |
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