Updated on 2025-05-29 GMT+08:00
Interrupting Sharing
onSelfStartShareIntercept:
API Description
This API is used to interrupt sharing.
Precautions
None
Method Definition
- (void)onSelfStartShareIntercept:(void(^)(HWMShareInterceptInfo *shareIntercept))callback;
Parameter Description
Parameter |
Type |
Description |
---|---|---|
isInterrupt |
BOOL |
Whether to interrupt sharing. |
interruptReason |
NSString * |
Interruption reason. |
Return Values
None
Sample Code
- (void)onSelfStartShareIntercept:(void (^)(HWMShareInterceptInfo * _Nonnull))callback { HWMShareInterceptInfo *model = [[HWMShareInterceptInfo alloc] init]; model.isInterrupt = YES; model.interruptReason = @"reason"; callback(model); }
Parent topic: UI Customization
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot