AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Implements actions that relate to media control. More...
#include <CzActionsMedia.h>
Public Types | |
enum | eActionType { Action_PlaySound = 0, Action_PlayMusic = 1, Action_StopMusic = 2, Action_ChangeVideoCam = 3, Action_AudioEnable = 4, Action_Max = 5 } |
Public Member Functions | |
CzXomlActions_Media (eActionType type) | |
void | Execute (IzXomlResource *source, CzAction *action) |
The main actions executor for media related actions. All media specific actions such as PlaySound, PlayMusic etc are implemented by this method. | |
Protected Member Functions | |
CzXomlActions_Media () | |
Protected Attributes | |
eActionType | Type |
Implements actions that relate to media control.
The CzXomlActions_Media class holds Actions (IzXomlAction) that deal with media play back and control such as playing a sound effect, music or modifiying the video cam stream.
The following actions are supported:
The above actions have the following XOML prototypes:
For more information on audio playback see CzAudio and for more information on VideoCam see CzVideoCam
CzXomlActions_Media::CzXomlActions_Media | ( | ) | [inline, protected] |
CzXomlActions_Media::CzXomlActions_Media | ( | eActionType | type | ) | [inline] |
void CzXomlActions_Media::Execute | ( | IzXomlResource * | source, |
CzAction * | action | ||
) | [virtual] |
The main actions executor for media related actions. All media specific actions such as PlaySound, PlayMusic etc are implemented by this method.
[in] | source | - The source of the action |
[in] | action | - The action to execute |
Implements IzXomlAction.
eActionType CzXomlActions_Media::Type [protected] |