|
Foxit PDF SDK
|
Public 成员函数 | |
| PlayerArgs () | |
| 构造函数。 | |
| PlayerArgs (PDFDoc doc, Screen screen_annot, Rendition rendition, String URL, String audio_format, MediaSettings player_settings) | |
| 构造函数,带参数。 更多... | |
| PlayerArgs (PlayerArgs player_args) | |
| 构造函数,使用另一个播放器参数对象。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| String | getAudio_format () |
| Get 音频格式,如"audio/wav"。 更多... | |
| PDFDoc | getDoc () |
| Get 文档的 PDFDoc 对象。 更多... | |
| MediaSettings | getPlayer_settings () |
| Get MediaSettings 对象。 更多... | |
| Rendition | getRendition () |
| Get com.foxit.sdk.pdf.Rendition 对象(MediaRendition或RenditionList)。 更多... | |
| Screen | getScreen_annot () |
| Get com.foxit.sdk.pdf.annots.Screen 对象。 更多... | |
| String | getURL () |
| Get uRL或rendition中的一个是必需的,URL优先。 更多... | |
| void | set (PDFDoc doc, Screen screen_annot, Rendition rendition, String URL, String audio_format, MediaSettings player_settings) |
| 设置值。 更多... | |
| void | setAudio_format (String value) |
| Set 音频格式,如"audio/wav"。 更多... | |
| void | setDoc (PDFDoc value) |
| Set 文档的 PDFDoc 对象。 更多... | |
| void | setPlayer_settings (MediaSettings value) |
| Set MediaSettings 对象。 更多... | |
| void | setRendition (Rendition value) |
| Set com.foxit.sdk.pdf.Rendition 对象(MediaRendition或RenditionList)。 更多... | |
| void | setScreen_annot (Screen value) |
| Set com.foxit.sdk.pdf.annots.Screen 对象。 更多... | |
| void | setURL (String value) |
| Set uRL或rendition中的一个是必需的,URL优先。 更多... | |
此类表示player args。
| com.foxit.sdk.PlayerArgs.PlayerArgs | ( | PDFDoc | doc, |
| Screen | screen_annot, | ||
| Rendition | rendition, | ||
| String | URL, | ||
| String | audio_format, | ||
| MediaSettings | player_settings | ||
| ) |
构造函数,带参数。
| [in] | doc | 文档的 PDFDoc 对象。如果省略了 annot 和 rendition,则为必需,例如用于URL播放。 |
| [in] | screen_annot | com.foxit.sdk.pdf.annots.Screen 对象。除非在事件对象或MediaSettings中找到,否则停靠播放需要此对象。 |
| [in] | rendition | pdf::Rendition 对象(MediaRendition或RenditionList)。除非在事件对象中找到rendition或存在URL,否则必需。 |
| [in] | URL | URL或rendition中的一个是必需的,URL优先。 |
| [in] | audio_format | 音频格式,如"audio/wav"。 |
| [in] | player_settings | MediaSettings 对象。 |
| com.foxit.sdk.PlayerArgs.PlayerArgs | ( | PlayerArgs | player_args | ) |
构造函数,使用另一个播放器参数对象。
| [in] | player_args | 另一个播放器参数对象。 |
| synchronized void com.foxit.sdk.PlayerArgs.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.PlayerArgs.getAudio_format | ( | ) |
Get 音频格式,如"audio/wav"。
| com.foxit.sdk.PlayerArgs.getDoc | ( | ) |
| com.foxit.sdk.PlayerArgs.getPlayer_settings | ( | ) |
Get MediaSettings 对象。
| com.foxit.sdk.PlayerArgs.getRendition | ( | ) |
Get com.foxit.sdk.pdf.Rendition 对象(MediaRendition或RenditionList)。
除非在事件对象中找到rendition或存在URL,否则必需。
| com.foxit.sdk.PlayerArgs.getScreen_annot | ( | ) |
Get com.foxit.sdk.pdf.annots.Screen 对象。
除非在javascript的"event"或"MediaSettings"中找到,否则停靠播放需要此对象。
| com.foxit.sdk.PlayerArgs.getURL | ( | ) |
Get uRL或rendition中的一个是必需的,URL优先。
| void com.foxit.sdk.PlayerArgs.set | ( | PDFDoc | doc, |
| Screen | screen_annot, | ||
| Rendition | rendition, | ||
| String | URL, | ||
| String | audio_format, | ||
| MediaSettings | player_settings | ||
| ) |
设置值。
| [in] | doc | 文档的 PDFDoc 对象。如果省略了 annot 和 rendition,则为必需,例如用于URL播放。 |
| [in] | screen_annot | com.foxit.sdk.pdf.annots.Screen 对象。除非在事件对象或MediaSettings中找到,否则停靠播放需要此对象。 |
| [in] | rendition | com.foxit.sdk.pdf.Rendition 对象(MediaRendition或RenditionList)。除非在事件对象中找到rendition或存在URL,否则必需。 |
| [in] | URL | URL或rendition中的一个是必需的,URL优先。 |
| [in] | audio_format | 音频格式,如"audio/wav"。 |
| [in] | player_settings | MediaSettings 对象。 |
| com.foxit.sdk.PlayerArgs.setAudio_format | ( | String | value | ) |
Set 音频格式,如"audio/wav"。
| [in] | value | 音频格式,如"audio/wav"。 |
| com.foxit.sdk.PlayerArgs.setDoc | ( | PDFDoc | value | ) |
| com.foxit.sdk.PlayerArgs.setPlayer_settings | ( | MediaSettings | value | ) |
| com.foxit.sdk.PlayerArgs.setRendition | ( | Rendition | value | ) |
Set com.foxit.sdk.pdf.Rendition 对象(MediaRendition或RenditionList)。
除非在事件对象中找到rendition或存在URL,否则必需。
| [in] | value | com.foxit.sdk.pdf.Rendition 对象(MediaRendition或RenditionList)。 |
| com.foxit.sdk.PlayerArgs.setScreen_annot | ( | Screen | value | ) |
Set com.foxit.sdk.pdf.annots.Screen 对象。
除非在javascript的"event"或"MediaSettings"中找到,否则停靠播放需要此对象。
| [in] | value | com.foxit.sdk.pdf.annots.Screen 对象。 |
| com.foxit.sdk.PlayerArgs.setURL | ( | String | value | ) |
Set uRL或rendition中的一个是必需的,URL优先。
| [in] | value | URL或rendition中的一个是必需的,URL优先。 |