Agora Interactive Whiteboard Java API Reference
Public Member Functions | List of all members
com.herewhite.sdk.window.SlideListener Interface Reference

Public Member Functions

void slideUrlInterrupter (String sourceUrl, ResultCaller< String > resultCaller)
 

Member Function Documentation

◆ slideUrlInterrupter()

void com.herewhite.sdk.window.SlideListener.slideUrlInterrupter ( String  sourceUrl,
ResultCaller< String >  resultCaller 
)

Callback for intercepting and replacing URLs of PPT resources.

Since
2.16.59

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.

Parameters
sourceUrlThe original URL address.
resultCallerThe URL replacemnt.