Foxit PDF SDK
9.1
|
media player state: Open.
More...
Instance Methods | |
(void) | - dealloc |
(void *) | - getCptr |
(id) | - init |
Constructor. More... | |
(id) | - initWithAuto_play:base_url:bg_color:bg_opacity:duration:page:repeat:show_ui:is_visible:volume:window_type:floating_wnd_info: |
Constructor, with parameters. More... | |
(id) | - initWithCptr:swigOwnCObject: |
(id) | - initWithMedia_settings: |
Constructor, with another media settings object. More... | |
(void) | - set:base_url:bg_color:bg_opacity:duration:page:repeat:show_ui:is_visible:volume:window_type:floating_wnd_info: |
Set values. More... | |
Protected Attributes | |
BOOL | swigCMemOwn |
void * | swigCPtr |
Properties | |
BOOL | auto_play |
Specify whether the media clip should begin playing automatically after the player is opened. More... | |
NSString * | base_url |
The base URL to be used to resolve any relative URLs used in the media clip. More... | |
unsigned int | bg_color |
The background color for the media player window. Format: 0xRRGGBB. More... | |
float | bg_opacity |
The background opacity for the media player window. More... | |
int | duration |
The amount of time in seconds that playback will take. More... | |
FSFloatingInfo * | floating_wnd_info |
A FSFloatingInfo containing properties (listed below) that define the location and style of a floating window. More... | |
BOOL | is_visible |
A boolean value that specifies whether the player should be visible. More... | |
int | page |
For a docked media player, this property is the number of the page on which the player should be docked. For other types of media players, this property is ignored. More... | |
int | repeat |
The number of times the media playback should automatically repeat. More... | |
BOOL | show_ui |
A boolean value that specifies whether the controls of the media player should be visible or not. More... | |
int | volume |
Specify the playback volume. A value of 0 is muted, a value of 100 is normal (full) volume. More... | |
FSMediaSettingsPlayerWindowType | window_type |
That defines which type of window the media player should be created in. Please refer to values starting from FSMediaSettingsPlayerWindowTypeDockedPage and this should be one of these values. More... | |
media player state: Open.
media player state: Close.
media player state: Playing.
media player state: Stop.
media player state: Suspend.
This class represents media settings.
- (void) dealloc |
- (void*) getCptr |
- (id) init |
Constructor.
- (id) initWithAuto_play: | (BOOL) | auto_play | |
base_url: | (NSString *) | base_url | |
bg_color: | (unsigned int) | bg_color | |
bg_opacity: | (float) | bg_opacity | |
duration: | (int) | duration | |
page: | (int) | page | |
repeat: | (int) | repeat | |
show_ui: | (BOOL) | show_ui | |
is_visible: | (BOOL) | is_visible | |
volume: | (int) | volume | |
window_type: | (FSMediaSettingsPlayerWindowType) | window_type | |
floating_wnd_info: | (FSFloatingInfo*) | floating_wnd_info | |
Constructor, with parameters.
[in] | auto_play | Specify whether the media clip should begin playing automatically after the player is opened. |
[in] | base_url | The base URL to be used to resolve any relative URLs used in the media clip. |
[in] | bg_color | The background color for the media player window. |
[in] | bg_opacity | The background opacity for the media player window. |
[in] | duration | The amount of time in seconds that playback will take. |
[in] | page | The number of the page on which the player should be docked. |
[in] | repeat | The number of times the media playback should automatically repeat. |
[in] | show_ui | A boolean value that specifies whether the controls of the media player should be visible or not. |
[in] | is_visible | A boolean value that specifies whether the player should be visible. |
[in] | volume | Specify the playback volume. A value of 0 is muted, a value of 100 is normal (full) volume. |
[in] | window_type | That defines which type of window the media player should be created in. |
[in] | floating_wnd_info | A FSFloatingInfo object containing properties (listed below) that define the location and style of a floating window. |
- (id) initWithCptr: | (void *) | cptr | |
swigOwnCObject: | (BOOL) | ownCObject | |
- (id) initWithMedia_settings: | (FSMediaSettings*) | media_settings |
Constructor, with another media settings object.
[in] | media_settings | Another media settings object. |
- (void) set: | (BOOL) | auto_play | |
base_url: | (NSString *) | base_url | |
bg_color: | (unsigned int) | bg_color | |
bg_opacity: | (float) | bg_opacity | |
duration: | (int) | duration | |
page: | (int) | page | |
repeat: | (int) | repeat | |
show_ui: | (BOOL) | show_ui | |
is_visible: | (BOOL) | is_visible | |
volume: | (int) | volume | |
window_type: | (FSMediaSettingsPlayerWindowType) | window_type | |
floating_wnd_info: | (FSFloatingInfo*) | floating_wnd_info | |
Set values.
[in] | auto_play | Specify whether the media clip should begin playing automatically after the player is opened. |
[in] | base_url | The base URL to be used to resolve any relative URLs used in the media clip. |
[in] | bg_color | The background color for the media player window. |
[in] | bg_opacity | The background opacity for the media player window. |
[in] | duration | The amount of time in seconds that playback will take. |
[in] | page | The number of the page on which the player should be docked. |
[in] | repeat | The number of times the media playback should automatically repeat. |
[in] | show_ui | A boolean value that specifies whether the controls of the media player should be visible or not. |
[in] | is_visible | A boolean value that specifies whether the player should be visible. |
[in] | volume | Specify the playback volume. A value of 0 is muted, a value of 100 is normal (full) volume. |
[in] | window_type | That defines which type of window the media player should be created in. |
[in] | floating_wnd_info | A FSFloatingInfo object containing properties (listed below) that define the location and style of a floating window. |
|
protected |
|
protected |
|
readwritenonatomicassign |
Specify whether the media clip should begin playing automatically after the player is opened.
YES means auto play, while NO means not.
|
readwritenonatomiccopy |
The base URL to be used to resolve any relative URLs used in the media clip.
For example, if the media opens a web page. There is no default value; if this is not specified, the interpretation of a relative URL will vary depending the media player, but in most cases will not work.
|
readwritenonatomicassign |
The background color for the media player window. Format: 0xRRGGBB.
|
readwritenonatomicassign |
The background opacity for the media player window.
|
readwritenonatomicassign |
The amount of time in seconds that playback will take.
|
readwritenonatomiccopy |
A FSFloatingInfo containing properties (listed below) that define the location and style of a floating window.
|
readwritenonatomicassign |
A boolean value that specifies whether the player should be visible.
|
readwritenonatomicassign |
For a docked media player, this property is the number of the page on which the player should be docked. For other types of media players, this property is ignored.
|
readwritenonatomicassign |
The number of times the media playback should automatically repeat.
The default value of 1 causes the media to be played once.
|
readwritenonatomicassign |
A boolean value that specifies whether the controls of the media player should be visible or not.
|
readwritenonatomicassign |
Specify the playback volume. A value of 0 is muted, a value of 100 is normal (full) volume.
|
readwritenonatomicassign |
That defines which type of window the media player should be created in. Please refer to values starting from FSMediaSettingsPlayerWindowTypeDockedPage and this should be one of these values.