Foxit PDF SDK
FSDK::PlayerArgs类 参考

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 优先。
 

详细描述

此类表示播放器参数。

成员函数说明

◆ constructor()

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]URLURL 或 rendition 之一是必需的,URL 优先。
[in]audio_format音频格式,例如 "audio/wav"。
[in]player_settings一个 FSDK.MediaSettings 对象。

◆ Set()

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]URLURL 或 rendition 之一是必需的,URL 优先。
[in]audio_format音频格式,例如 "audio/wav"。
[in]player_settings一个 FSDK.MediaSettings 对象。
返回
无。

类成员变量说明

◆ doc

FSDK::PlayerArgs::doc

文档的 FSDK.PDFDoc 对象。

如果 annot 和 rendition 都被省略(例如 URL 播放),则需要此参数。

◆ rendition

FSDK::PlayerArgs::rendition

一个 FSDK.Rendition 对象(MediaRendition 或 RenditionList)。

除非在事件对象中找到 rendition 或存在 URL,否则需要此参数。

◆ screen_annot

FSDK::PlayerArgs::screen_annot

一个 FSDK.Screen 对象。

除非在 javascript 的“event”或“MediaSettings”中找到,否则停靠播放需要此参数。