Customizing Social Sharing
shareConf:isAnonymous:inCtrl
API Description
This API is used to block meeting sharing. After the setting, the default sharing pop-up window of the SDK (shown in the following figure) will be blocked.
Precautions
- If the shareConf:isAnonymous:inCtrl method is implemented, it will be called when you try to use the sharing function in a meeting.
- In addition, the SDK internal sharing UI and meeting QR code will not be displayed. In this case, getShareLogoImages and getBrandName settings are invalid.
Method Definition
1
|
- (void)shareConf:(HWMConfDetail *)confInfo isAnonymous:(BOOL)isAnonymous inCtrl:(UIViewController *)controller; |
Parameter Description
Parameter |
Type |
Description |
---|---|---|
confInfo |
Meeting information. |
|
isAnonymous |
BOOL |
Whether to join the meeting anonymously. |
controller |
UIViewController * |
View controller. The custom sharing page can be displayed on the controller for the access party. |
Parameter |
Type |
Description |
---|---|---|
confId |
NSString * |
Meeting ID. |
confSubject |
NSString * |
Meeting topic. |
accessNumber |
NSString * |
Meeting access code. |
chairmanPwd |
NSString * |
Host password. |
generalPwd |
NSString * |
Guest password. |
startTime |
NSString * |
Meeting start time. |
endTime |
NSString * |
Meeting end time. |
Return Values
None
Sample Code
1 2 3 4 5 6 7 8 |
/// After the setting takes effect, the SDK internal sharing pop-up window will be blocked. - (void)shareConf:(HWMConfDetail *)confInfo isAnonymous:(BOOL)isAnonymous inCtrl:(UIViewController *)controller { NSLog(@"enter share conf"); ShareView *shareView = [[ShareView alloc] init]; [shareView showShareView:^(NSInteger index) { [UIUtil showMessage:[NSString stringWithFormat:@" Click button {xx}.", index + 1]]; }]; } |
getShareLogoImages
API Description
This API is used to set a logo on the meeting QR code sharing page.
Precautions
- The logo array contains one logo.
- The getShareLogoImages method cannot coexist with the shareConf:isAnonymous:inCtrl method. If they coexist, the getShareLogoImages method does not take effect.
Method Definition
1
|
- (NSArray <UIImage *>*)getShareLogoImages; |
Parameter Description
Parameter |
Type |
Description |
---|---|---|
getShareLogoImages |
NSArray <UIImage *>* |
Logo array on the meeting QR code sharing page. |
Return Values
None
Sample Code
1 2 3 4 5 |
/// Set a logo array (containing one logo) on the meeting QR code sharing page. -(NSArray<UIImage *> *)getShareLogoImages { UIImage * image = [UIImage imageNamed:@""]; return @[image]; } |
getBrandName
API Description
This API is used to set a brand name on the meeting QR code sharing page.
Precautions
- The getBrandName method cannot coexist with the shareConf:isAnonymous:inCtrl method. If they coexist, the getBrandName method does not take effect.
Method Definition
1
|
- (NSString *)getBrandName; |
Parameter Description
Parameter |
Type |
Description |
---|---|---|
getBrandName |
NSString * |
Brand name on the meeting QR code sharing page. |
Return Values
None
Sample Code
1 2 3 4 |
/// Set a brand name on the meeting QR code sharing page. - (NSString *)getBrandName { return @"Integrated brand name"; } |
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