2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #ifndef _BT_SERVICE_AVRCP_H_
20 #define _BT_SERVICE_AVRCP_H_
23 #include <sys/types.h>
25 #include "bluetooth-api.h"
26 #include "bluetooth-media-control.h"
32 #define BT_MEDIA_OBJECT_PATH "/Musicplayer"
34 #define BT_AVRCP_ERROR (__bt_avrcp_error_quark())
36 #define BT_ERROR_INTERNAL "InternalError"
37 #define BT_ERROR_INVALID_PARAM "InvalidParameters"
38 #define BT_ERROR_INVALID_INTERFACE "InvalidInterface"
42 BT_AVRCP_ERROR_INTERNAL,
43 BT_AVRCP_ERROR_INVALID_PARAM,
44 BT_AVRCP_ERROR_NOT_SUPPORTED,
45 BT_AVRCP_ERROR_INVALID_INTERFACE
48 int _bt_register_media_player(void);
50 int _bt_unregister_media_player(void);
52 int _bt_avrcp_set_track_info(media_metadata_attributes_t *meta_data);
54 int _bt_avrcp_set_properties(media_player_settings_t *properties);
56 int _bt_avrcp_set_property(int type, unsigned int value);
60 #endif /* __cplusplus */
61 #endif /*_BT_SERVICE_AVRCP_H_*/