|
Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
| void | slideUrlInterrupter (String sourceUrl, ResultCaller< String > resultCaller) |
| void com.herewhite.sdk.window.SlideListener.slideUrlInterrupter | ( | String | sourceUrl, |
| ResultCaller< String > | resultCaller | ||
| ) |
Callback for intercepting and replacing URLs of PPT resources.
This callback is disabled by default. You can enable it with WhiteSdkConfiguration#setEnableSlideInterrupterAPI setEnableSlideInterrupterAPI}(true) when initiating the whiteboard SDK.
Once enabled, the SDK will trigger this callback during PPT resource loading, reporting the original URL address of the resource. You need to pass the replaced URL back to the SDK through the resultCaller callback.
| sourceUrl | The original URL address. |
| resultCaller | The URL replacemnt. |