Tizen 2.0 Release
[framework/osp/media.git] / src / inc / FMedia_PlayerEventTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file                FMedia_PlayerEventTypes.h
20  * @brief               This header file defines common data structures or types for Media::Player.
21  */
22
23
24 #ifndef _FMEDIA_INTERNAL_PLAYER_EVENT_TYPES_H_
25 #define _FMEDIA_INTERNAL_PLAYER_EVENT_TYPES_H_
26
27 #include <FOspConfig.h>
28 #include <FMediaPlayerTypes.h>
29
30
31 namespace Tizen {namespace Media
32 {
33
34 enum _PlayerEventType
35 {
36         _PLAYER_EVENT_NONE = 0x00,                              /**< Event None */
37         _PLAYER_EVENT_OPENED = 0x01,                            /**< Player Opened event */
38         _PLAYER_EVENT_ENDOFCLIP,                                        /**< Player reached to end of clip event */
39         _PLAYER_EVENT_BUFFERING,                                        /**< Buffering event */
40         _PLAYER_EVENT_SEEKTO,                                   /**< SeekTo result event */
41         _PLAYER_EVENT_INTERRUPTED,                              /**< Interrupted event */
42         _PLAYER_EVENT_RELEASED,                                 /**< Released event */
43         _PLAYER_EVENT_ERROR,                                            /**< Error event */
44         _PLAYER_EVENT_DOWNLOAD_START,                   /**< Progressive download has started */
45         _PLAYER_EVENT_DOWNLOADING,                              /**< Progressive download size is updated */
46         _PLAYER_EVENT_DOWNLOAD_COMPLETE,                        /**< Progressive download has completed */
47         _PLAYER_EVENT_AUDIO_FOCUS_CHANGED               /**< event to signify that audio foucs has changed*/
48 };
49
50
51 }} // Tizen::Media
52
53 #endif