|
Foxit PDF SDK
|
Public 成员函数 | |
| constructor (doc, screen_annot, rendition, URL, audio_format, player_settings) | |
| 带参数的构造函数。 更多... | |
| Set (doc, screen_annot, rendition, URL, audio_format, player_settings) | |
| 设置值。 更多... | |
Public 属性 | |
| audio_format | |
| 音频格式,例如 "audio/wav"。 | |
| doc | |
| 文档的 FSDK.PDFDoc 对象。 更多... | |
| player_settings | |
| 一个 FSDK.MediaSettings 对象。 | |
| rendition | |
| 一个 FSDK.Rendition 对象(MediaRendition 或 RenditionList)。 更多... | |
| screen_annot | |
| 一个 FSDK.Screen 对象。 更多... | |
| URL | |
| URL 或 rendition 之一是必需的,URL 优先。 | |
此类表示播放器参数。
| FSDK::PlayerArgs::constructor | ( | doc | , |
| screen_annot | , | ||
| rendition | , | ||
| URL | , | ||
| audio_format | , | ||
| player_settings | |||
| ) |
带参数的构造函数。
| [in] | doc | 文档的 FSDK.PDFDoc 对象。如果 annot 和 rendition 都被省略(例如 URL 播放),则需要此参数。 |
| [in] | screen_annot | 一个 FSDK.Screen 对象。除非在事件对象或 MediaSettings 中找到,否则停靠播放需要此参数。 |
| [in] | rendition | 一个 FSDK.Rendition 对象(MediaRendition 或 RenditionList)。除非在事件对象中找到 rendition 或存在 URL,否则需要此参数。 |
| [in] | URL | URL 或 rendition 之一是必需的,URL 优先。 |
| [in] | audio_format | 音频格式,例如 "audio/wav"。 |
| [in] | player_settings | 一个 FSDK.MediaSettings 对象。 |
| FSDK::PlayerArgs::Set | ( | doc | , |
| screen_annot | , | ||
| rendition | , | ||
| URL | , | ||
| audio_format | , | ||
| player_settings | |||
| ) |
设置值。
| [in] | doc | 文档的 FSDK.PDFDoc 对象。如果 annot 和 rendition 都被省略(例如 URL 播放),则需要此参数。 |
| [in] | screen_annot | 一个 FSDK.Screen 对象。除非在事件对象或 MediaSettings 中找到,否则停靠播放需要此参数。 |
| [in] | rendition | 一个 FSDK.Rendition 对象(MediaRendition 或 RenditionList)。除非在事件对象中找到 rendition 或存在 URL,否则需要此参数。 |
| [in] | URL | URL 或 rendition 之一是必需的,URL 优先。 |
| [in] | audio_format | 音频格式,例如 "audio/wav"。 |
| [in] | player_settings | 一个 FSDK.MediaSettings 对象。 |
| FSDK::PlayerArgs::doc |
文档的 FSDK.PDFDoc 对象。
如果 annot 和 rendition 都被省略(例如 URL 播放),则需要此参数。
| FSDK::PlayerArgs::rendition |
一个 FSDK.Rendition 对象(MediaRendition 或 RenditionList)。
除非在事件对象中找到 rendition 或存在 URL,否则需要此参数。
| FSDK::PlayerArgs::screen_annot |
一个 FSDK.Screen 对象。
除非在 javascript 的“event”或“MediaSettings”中找到,否则停靠播放需要此参数。