# com.herewhite.sdk.domain.WindowAppParam class 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 详细描述 [#详细描述] 适用版本:**Whiteboard Android SDK 2.16.134**。 ## 属性与 JSON 字段 [#属性与-json-字段] Java 非公开字段通过对应 getter/setter 访问;可选包装类型未设置时通常不写入 JSON。初值包含字段声明及无参构造中的直接赋值;其他构造参数以签名为准。 | 字段 | 声明 | 源码初值 | 说明 | | --- | --- | --- | --- | | [KIND_DOCSVIEWER](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#ab9ca7d9391414e2d0abb6612aeeba7fa) | `String KIND_DOCSVIEWER` | "DocsViewer" | [api-center-table-0 details](#table-slot-api-center-table-0) | | [KIND_MEDIAPLAYER](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a14f33045359a52cdd8cfb73686a83cc2) | `String KIND_MEDIAPLAYER` | "MediaPlayer" | [api-center-table-1 details](#table-slot-api-center-table-1) | | [KIND_SLIDE](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a270ad4e6acbc5ca9bfb2742774e800f1) | `String KIND_SLIDE` | "Slide" | [api-center-table-2 details](#table-slot-api-center-table-2) | | [KIND_PRESENTATION](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#ad265592a36b556312f061d850988fc1e) | `String KIND_PRESENTATION` | "Presentation" | [api-center-table-3 details](#table-slot-api-center-table-3) | | [kind](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#aeb79805a1b09acec7e8ccc4823ace965) | `String kind` | 未显式赋值 | [api-center-table-4 details](#table-slot-api-center-table-4) | | [options](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a33a4be300fee5d9c153ecc6be1915221) | `Options options` | 未显式赋值 | [api-center-table-5 details](#table-slot-api-center-table-5) | | [attributes](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a081291b231784d3f999505ddf2710ab8) | `Attributes attributes` | 未显式赋值 | [api-center-table-6 details](#table-slot-api-center-table-6) | | [originSize](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#ad1c6d1c91bb04ca691c46d5e7f536de8) | `WindowOriginSize originSize` | 未显式赋值 | [api-center-table-7 details](#table-slot-api-center-table-7) | **api-center-table-0 details** 公开常量或属性。 **api-center-table-1 details** 公开常量或属性。 **api-center-table-2 details** 公开常量或属性。 **api-center-table-3 details** 公开常量或属性。 **api-center-table-4 details** 模型属性;通过对应 getter/setter 访问。 **api-center-table-5 details** 模型属性;通过对应 getter/setter 访问。 **api-center-table-6 details** 模型属性;通过对应 getter/setter 访问。 **api-center-table-7 details** 正数 width/height 组成的归一化参考尺寸。WindowParams 用于 MainView;WindowAppParam 用于 Slide/Presentation 并写入 attributes.originSize。 | 公开成员签名 | | | --- | --- | | | [WindowAppParam](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#af3131b0aa75480d0d0eb448f8c49b001) (String kind, Options options, Attributes attributes) | | WindowAppParam | [createDocsViewerApp](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a013574d1b67270f4c020cdaf825b4df8) (String scenePath, Scene[] scenes, String title) | | WindowAppParam | [createMediaPlayerApp](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#ac5f9d53527157760990791b1bbe07a7e) (String src, String title) | | WindowAppParam | [createSlideApp](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#afa3d33545ab8059ee68e3f7ea6782fcf) (String scenePath, Scene[] scenes, String title) | | WindowAppParam | [createPresentationApp](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#ae6a1a959954ee33f5fa1cfbd97728ec1) (String scenePath, Scene[] scenes, String title) | | WindowAppParam | [createSlideApp](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a5f52b7bc23c48dffde7f6becf03b2fb2) (String taskUuid, String prefixUrl, String title) | | WindowAppParam | [createSlideApp](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a62a84d0005fc065c12138a4d73176a74) (String taskUuid, String prefixUrl, String title, WhiteSlideCustomLink[] customLinks) | | String | [getKind](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a238ed8789126f4de510c493e3053e336) () | | Options | [getOptions](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#abc2c50155856928856ebdd39547b31de) () | | Attributes | [getAttributes](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a105b0c625e42408956c6ea800b720113) () | | WindowAppParam | [setOriginSize](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#a577bddf002157b1233882b076c91f3bf) (WindowOriginSize originSize) | | WindowOriginSize | [getOriginSize](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#acc634644b0af448e869c10d0c1460b30) () | | Attributes | [getResolvedAttributes](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param#ac1938344f9a4b6e3738e9499b8ed739e) () | ## 变量说明 [#变量说明] ### KIND_DOCSVIEWER [#kind_docsviewer] ```text String KIND_DOCSVIEWER ``` 源码初值:"DocsViewer" 公开常量或属性。 ### KIND_MEDIAPLAYER [#kind_mediaplayer] ```text String KIND_MEDIAPLAYER ``` 源码初值:"MediaPlayer" 公开常量或属性。 ### KIND_SLIDE [#kind_slide] ```text String KIND_SLIDE ``` 源码初值:"Slide" 公开常量或属性。 ### KIND_PRESENTATION [#kind_presentation] ```text String KIND_PRESENTATION ``` 源码初值:"Presentation" 公开常量或属性。 ### kind [#kind] ```text String kind ``` 源码初值:未显式赋值 模型属性;通过对应 getter/setter 访问。 ### options [#options] ```text Options options ``` 源码初值:未显式赋值 模型属性;通过对应 getter/setter 访问。 ### attributes [#attributes] ```text Attributes attributes ``` 源码初值:未显式赋值 模型属性;通过对应 getter/setter 访问。 ### originSize [#originsize] ```text WindowOriginSize originSize ``` 源码初值:未显式赋值 正数 width/height 组成的归一化参考尺寸。WindowParams 用于 MainView;WindowAppParam 用于 Slide/Presentation 并写入 attributes.originSize。 ## 函数说明 [#函数说明] ### WindowAppParam() [#windowappparam] WindowAppParam(String kind, Options options, Attributes attributes) WindowAppParam:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### createDocsViewerApp() [#createdocsviewerapp] static WindowAppParam createDocsViewerApp(String scenePath, Scene[] scenes, String title) createDocsViewerApp:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### createMediaPlayerApp() [#createmediaplayerapp] static WindowAppParam createMediaPlayerApp(String src, String title) createMediaPlayerApp:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### createSlideApp() [#createslideapp] static WindowAppParam createSlideApp(String scenePath, Scene[] scenes, String title) 构建由新转换服务转换的文档(App)参数。 转换任务的 UUID。 以 http 或 https 开头的 url, 例如 `https://convertcdn.netless.link/dynamicConvert`. 请注意不以 / 结尾。 窗口标题。用于展示插入的文档。

返回值

[`WindowAppParam`](/zh-CN/api-reference/whiteboard/whiteboard-sdk/android/classcom-1-1herewhite-1-1sdk-1-1domain-1-1-window-app-param) 对象。 ### createPresentationApp() [#createpresentationapp] static WindowAppParam createPresentationApp(String scenePath, Scene[] scenes, String title) createPresentationApp:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### createSlideApp() [#createslideapp-1] static WindowAppParam createSlideApp(String taskUuid, String prefixUrl, String title) 构建由新转换服务转换的 App 参数 #### 参数 [#参数] 以 http 或 https 开头的 url, 例如 https://convertcdn.netless.link/dynamicConvert. 请注意不以 / 结尾。

返回值

方法返回值,类型为 WindowAppParam。 ### createSlideApp() [#createslideapp-2] static WindowAppParam createSlideApp(String taskUuid, String prefixUrl, String title, WhiteSlideCustomLink[] customLinks) createSlideApp:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### getKind() [#getkind] String getKind() getKind:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### getOptions() [#getoptions] Options getOptions() getOptions:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### getAttributes() [#getattributes] Attributes getAttributes() getAttributes:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。 ### setOriginSize() [#setoriginsize] WindowAppParam setOriginSize(WindowOriginSize originSize) 正数 width/height 组成的归一化参考尺寸。WindowParams 用于 MainView;WindowAppParam 用于 Slide/Presentation 并写入 attributes.originSize。 ### getOriginSize() [#getoriginsize] WindowOriginSize getOriginSize() 正数 width/height 组成的归一化参考尺寸。WindowParams 用于 MainView;WindowAppParam 用于 Slide/Presentation 并写入 attributes.originSize。 ### getResolvedAttributes() [#getresolvedattributes] Attributes getResolvedAttributes() getResolvedAttributes:com.herewhite.sdk.domain.WindowAppParam 的公开成员。参数和返回类型见下方签名。