Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
PptPage (String src, Double width, Double height) | |
PptPage (String src, Double width, Double height, String preview) | |
String | getSrc () |
void | setSrc (String src) |
double | getWidth () |
void | setWidth (double width) |
double | getHeight () |
void | setHeight (double height) |
String | getPreview () |
void | setPreview (String preview) |
![]() | |
String | toString () |
JSONObject | toJSON () |
The PptPage
class, for setting the parameters of an image or dynamic PPT slide.
You can pass in a PptPage
object when initializing a Scene
instance to present the image or dynamic PPT slide on the whiteboard scene.
You can insert the following formats of an image or dynamic PPT slide on the whiteboard scene:
com.herewhite.sdk.domain.PptPage.PptPage | ( | String | src, |
Double | width, | ||
Double | height | ||
) |
The PptPage
constructor, for initializing a PptPage
instance to be inserted on a whiteboard scene.
src | The address of the image or dynamic PPT slide. The supported formats are as follows:
|
width | The width (px) of the image or dynamic PPT slide. |
height | The height (px) of the image or dynamic PPT slide. |
com.herewhite.sdk.domain.PptPage.PptPage | ( | String | src, |
Double | width, | ||
Double | height, | ||
String | preview | ||
) |
The PptPage
constructor, for initializing a PptPage
instance to be inserted on a whiteboard scene.
src | The address of the image or dynamic PPT slide. The supported formats are as follows:
|
width | The width (px) of the image or dynamic PPT slide. |
height | The height (px) of the image or dynamic PPT slide. |
preview | The URL address of the preview for the image or dynamic PPT slide. You can get the URL address of the dynamic PPT preview in the preview field in the query result of the file conversion task. For example, "https://docs-test-xxx.oss-cn-hangzhou.aliyuncs.com/dynamicConvert/2fdxxxxx67e/preview/1.png". |
String com.herewhite.sdk.domain.PptPage.getSrc | ( | ) |
Gets the URL address of the image or the URI of the dynamic PPT slide.
void com.herewhite.sdk.domain.PptPage.setSrc | ( | String | src | ) |
Sets the URL address of the image or the URI of the dynamic PPT slide.
src | The URL address of the image or the URI of the dynamic PPT slide. |
double com.herewhite.sdk.domain.PptPage.getWidth | ( | ) |
Gets the width of the image or dynamic PPT slide.
void com.herewhite.sdk.domain.PptPage.setWidth | ( | double | width | ) |
Sets the width of the image or dynamic PPT slide.
width | The width (px) of the image or dynamic PPT slide. |
double com.herewhite.sdk.domain.PptPage.getHeight | ( | ) |
Gets the height of the image or dynamic PPT slide.
void com.herewhite.sdk.domain.PptPage.setHeight | ( | double | height | ) |
Sets the height of the image or dynamic PPT slide.
String com.herewhite.sdk.domain.PptPage.getPreview | ( | ) |
Gets the URL address of the image or the URI of the dynamic PPT slide.
void com.herewhite.sdk.domain.PptPage.setPreview | ( | String | preview | ) |
Sets the URL address of the preview for the image or dynamic PPT slide.
This method displays the preview in the page preview area on the right side of the whiteboard.
preview | The URL address of the preview for the image or dynamic PPT slide. You can get the URL address of the dynamic PPT preview in the preview field in the query result of the file conversion task. For example, "https://docs-test-xxx.oss-cn-hangzhou.aliyuncs.com/dynamicConvert/2fdxxxxx67e/preview/1.png". |