Notify users about Zoom apps in meetings
The code on this page works with either the default UI or the custom UI.
Users in a meeting or webinar are notified and have the option to agree to have the meeting data accessed by third party applications like Zoom Apps or SDK applications. When one of these apps is present in a meeting, users must see an Active App Notifier (AAN). This keeps users informed about who can see their data and which data in the meeting is currently exposed.
The SDK provides a pre-built UI containing the AAN information. To display this UI, get the original point and the parent window to display the AAN UI and pass it into the SDK.
if let appSignalController = ZoomSDK.shared().getMeetingService()?.getAppSignalController() {
/*
showAANPanel
1st param - point (NSPoint) - The original point to display app signal panel,
2nd param - parentWindow (NSWindow) - The parent window to locate the application signal panel.
*/
appSignalController.showAANPanel(<#T##point: NSPoint##NSPoint#>, parentWindow: <#T##NSWindow#>)
}
ZoomSDKAppSignalController *appSignalController = [[[ZoomSDK sharedSDK] getMeetingService] getAppSignalController];
if (appSignalController) {
/*
showAANPanel
1st param - point (NSPoint) - The original point to display app signal panel,
2nd param - parentWindow (NSWindow) - The parent window to locate the application signal panel.
*/
[appSignalController showAANPanel:<#(NSPoint)#> parentWindow:<#(nonnull NSWindow *)#>];
}
The SDK also lets you hide the AAN UI programmatically.
appSignalController.hideAANPanel()
[appSignalController hideAANPanel];
In addition to the AAN UI, there is a similar legal notice UI available related to the Zoom AI Companion. This legal notice is displayed in a similar way as the AAN UI, but it uses a different method.
/*
showDynamicNotice
1st param - forAICompanionPanel (NSPoint) - The original point to display app signal panel,
2nd param - parentWindow (NSWindow) - The parent window to locate the application signal panel.
*/
appSignalController.showDynamicNotice(forAICompanionPanel: <#T##NSPoint#>, parentWindow: <#T##NSWindow#>)
appSignalController.hideDynamicNoticeForAICompanionPanel()
/*
showDynamicNotice
1st param - forAICompanionPanel (NSPoint) - The original point to display app signal panel,
2nd param - parentWindow (NSWindow) - The parent window to locate the application signal panel.
*/
[appSignalController showDynamicNoticeForAICompanionPanel:<#(NSPoint)#> parentWindow:<#(nonnull NSWindow *)#>];
[appSignalController hideDynamicNoticeForAICompanionPanel];
For information about various legal notices you must include in your custom meeting UI, see UI legal notices.