Customizing the Button of Adding a Virtual Background Image
onClickAddVirtualBackgroundItem:
API Description
This API is used to customize the button of adding a virtual background image.
Precautions
None
Method Definition
1
|
- (void)onClickAddVirtualBackgroundItem:(void (^)(HWMVirtualBackgroundImageModel *))callback; |
Parameter Description
Parameter |
Type |
Description |
---|---|---|
imagePath |
NSString * |
Absolute image path. The PNG, JPG, and JPEG formats are supported. The maximum size is 4,096 x 4,096, and the minimum size is 160 x 160. |
Return Values
None
1 2 3 4 5 |
/// Configure the callback when the button for customizing a virtual background is touched. - (void)onClickAddVirtualBackgroundItem:(void (^)(HWMVirtualBackgroundImageModel * _Nonnull))callback { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; [self presentViewController:picker animated:YES completion:nil]; } |
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