![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <IzPlatformVideo.h>
Public Member Functions | |
| bool | isInitialised () const |
| virtual float | getPlayPosition () const =0 |
| virtual bool | setPlayPosition (float pos)=0 |
| virtual bool | isPlaying () const =0 |
| virtual void | setVolume (float volume)=0 |
| virtual float | getVolume () const =0 |
| void | setVideoStoppedCallback (CzCallback callback, void *data) |
| CzCallback | getVideoStoppedCallback () |
| virtual int | Init ()=0 |
| virtual void | Release ()=0 |
| virtual bool | Play (const char *filename, const CzIRect &rect, int repeat_count, eCzVideoCodec codec)=0 |
| virtual bool | PlayFromMemory (char *mem, uint32 len, const CzIRect &rect, int repeat_count, eCzVideoCodec codec)=0 |
| virtual void | Stop ()=0 |
| virtual void | Pause ()=0 |
| virtual void | Resume ()=0 |
| virtual bool | isCodecSupported (eCzVideoCodec codec)=0 |
| virtual bool | isCodecSupported (unsigned int codec_hash, bool &found)=0 |
| virtual void | NotifyStopped ()=0 |
Protected Attributes | |
| bool | Initialised |
| CzCallback | VideoStoppedCallback |
| void * | VideoStoppedCallbackData |
| Callback data to be passed back with callback. | |
| virtual float IzPlatformVideo::getPlayPosition | ( | ) | const [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| CzCallback IzPlatformVideo::getVideoStoppedCallback | ( | ) | [inline] |
| virtual float IzPlatformVideo::getVolume | ( | ) | const [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual int IzPlatformVideo::Init | ( | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual bool IzPlatformVideo::isCodecSupported | ( | eCzVideoCodec | codec | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual bool IzPlatformVideo::isCodecSupported | ( | unsigned int | codec_hash, |
| bool & | found | ||
| ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| bool IzPlatformVideo::isInitialised | ( | ) | const [inline] |
| virtual bool IzPlatformVideo::isPlaying | ( | ) | const [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual void IzPlatformVideo::NotifyStopped | ( | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual void IzPlatformVideo::Pause | ( | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual bool IzPlatformVideo::Play | ( | const char * | filename, |
| const CzIRect & | rect, | ||
| int | repeat_count, | ||
| eCzVideoCodec | codec | ||
| ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual bool IzPlatformVideo::PlayFromMemory | ( | char * | mem, |
| uint32 | len, | ||
| const CzIRect & | rect, | ||
| int | repeat_count, | ||
| eCzVideoCodec | codec | ||
| ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual void IzPlatformVideo::Release | ( | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual void IzPlatformVideo::Resume | ( | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual bool IzPlatformVideo::setPlayPosition | ( | float | pos | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| void IzPlatformVideo::setVideoStoppedCallback | ( | CzCallback | callback, |
| void * | data | ||
| ) | [inline] |
| virtual void IzPlatformVideo::setVolume | ( | float | volume | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
| virtual void IzPlatformVideo::Stop | ( | ) | [pure virtual] |
Implemented in CzPlatformVideo, and CzPlatformVideo.
bool IzPlatformVideo::Initialised [protected] |
CzCallback IzPlatformVideo::VideoStoppedCallback [protected] |
void* IzPlatformVideo::VideoStoppedCallbackData [protected] |
Callback data to be passed back with callback.