WhiteSlideDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | WhiteSlideDelegate.h |
– slideUrlInterrupter:completionHandler:
The callback for intercepting PPT URL.
- (void)slideUrlInterrupter:(NSString *_Nullable)url completionHandler:(SlideUrlInterrupterCallback _Nullable)completionHandler
Parameters
url |
The original URL address of the PPT resource. |
---|---|
completionHandler |
The callback closure for the replaced URL of the PPT resource. You need to implement the replacement logic within this callback. After completing the replacement, you should call completionHandler to handle the interception and replacement result of the PPT URL. |
Discussion
Note:
- To trigger this callback, you must enable the PPT interception and replacement feature by setting
WhiteSdkConfiguration
.enableSlideInterrupterAPI(YES) when initializing the Whiteboard SDK. See WhiteSdkConfiguration.
Declared In
WhiteSlideDelegate.h