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.
18 #include "FMedia_PlayerEventArg.h"
20 namespace Tizen { namespace Media
23 _PlayerEventTypeArg::_PlayerEventTypeArg(void)
24 : __playerEventType(_PLAYER_EVENT_NONE)
29 _PlayerEventTypeArg::~_PlayerEventTypeArg(void)
35 _PlayerEventTypeArg::SetEventType(_PlayerEventType eType)
37 __playerEventType = eType;
41 _PlayerEventTypeArg::GetEventType(void) const
43 return __playerEventType;
46 _PlayerEventArg::_PlayerEventArg(void)
53 _PlayerEventArg::~_PlayerEventArg(void)
57 delete (Tizen::Base::ByteBuffer*) __playerData;
63 _PlayerEventArg::SetData(Tizen::Base::ByteBuffer* data)
68 Tizen::Base::ByteBuffer*
69 _PlayerEventArg::GetData(void) const
75 _PlayerEventArg::GetResult(void) const
81 _PlayerEventArg::SetResult(result r)
87 _PlayerErrorArg::_PlayerErrorArg(void)
88 : __error(PLAYER_ERROR_NONE)
93 _PlayerErrorArg::~_PlayerErrorArg(void)
99 _PlayerErrorArg::GetError(void) const
105 _PlayerErrorArg::SetError(PlayerErrorReason r)
110 _PlayerStreamingEventArg::_PlayerStreamingEventArg(void)
116 _PlayerStreamingEventArg::~_PlayerStreamingEventArg(void)
122 _PlayerStreamingEventArg::GetPercent(void) const
128 _PlayerStreamingEventArg::SetPercent(int value)