|
Foxit PDF SDK
|
Inherits <NSObject>.
Instance Methods | |
| (void) | - close |
| A callback function to close the media player. More... | |
| (FSMediaSettings *) | - getPlayerSettings |
| A callback function to get the media player settings. More... | |
| (FSMediaPlayerCallbackJSMediaPlayerState) | - getState |
| A callback function to get the media player state. More... | |
| (BOOL) | - play |
| A callback function to play the media player. More... | |
| (BOOL) | - seek: |
| A callback function to seek the media player. More... | |
| (BOOL) | - stop |
| A callback function to stop the media player. More... | |
This class represents a callback object for performing media player actions. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
|
required |
A callback function to close the media player.
This callback function will be triggered by the javascript method "MediaPlayer.close".
|
required |
A callback function to get the media player settings.
This callback function will be triggered by the javascript property "MediaPlayer.visible".
|
required |
A callback function to get the media player state.
This callback function will be triggered by the javascript property "MediaPlayer.isOpen".
|
required |
A callback function to play the media player.
This callback function will be triggered by the javascript method "MediaPlayer.play".
|
required |
A callback function to seek the media player.
This callback function will be triggered by the javascript method "MediaPlayer.seek".
| [in] | current_pos | Indicate the playback location. |
|
required |
A callback function to stop the media player.
This callback function will be triggered by the javascript method "MediaPlayer.stop".