2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
19 * @file FMedia_PlayerEventTypes.h
20 * @brief This header file defines common data structures or types for Media::Player.
24 #ifndef _FMEDIA_INTERNAL_PLAYER_EVENT_TYPES_H_
25 #define _FMEDIA_INTERNAL_PLAYER_EVENT_TYPES_H_
27 #include <FOspConfig.h>
28 #include <FMediaPlayerTypes.h>
31 namespace Tizen {namespace Media
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*/