Help Center> Meeting> Client SDK Reference> macOS SDK> APIs> UI Customization> Customizing the Social Sharing Window
Updated on 2022-07-11 GMT+08:00

Customizing the Social Sharing Window

- (NSView *)socialShareView:(HWMConfStateInfo *)confInfo;

API Description

This API is used to block the meeting sharing window. After the setting, the sharing pop-up window of the SDK (shown in the following figure) will be blocked.

Figure 1 Sharing pop-up window

Precautions

  1. If the method is implemented, it will be called when you use the sharing function during a meeting. The SDK controls the position, display, and hiding of the window.

Sample Code

- (NSView *)socialShareView:(HWMConfStateInfo *)confDetail {
    if (!self.socialView) {
        self.socialView =  [[HWMSocialView alloc] initWithFrame:NSMakeRect(0, 0, 500, 300)];
        self.socialView.wantsLayer = YES;
        self.socialView.layer.backgroundColor = [NSColor whiteColor].CGColor;
    }
    self.socialView.confDetail = confDetail;
    return self.socialView;
}