195489c19Sopenharmony_ci/*
295489c19Sopenharmony_ci * Copyright (C) 2021 Huawei Device Co., Ltd.
395489c19Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
495489c19Sopenharmony_ci * you may not use this file except in compliance with the License.
595489c19Sopenharmony_ci * You may obtain a copy of the License at
695489c19Sopenharmony_ci *
795489c19Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
895489c19Sopenharmony_ci *
995489c19Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1095489c19Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1195489c19Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1295489c19Sopenharmony_ci * See the License for the specific language governing permissions and
1395489c19Sopenharmony_ci * limitations under the License.
1495489c19Sopenharmony_ci */
1595489c19Sopenharmony_ci
1695489c19Sopenharmony_ci#include "avrcp_media.h"
1795489c19Sopenharmony_ci#include "string"
1895489c19Sopenharmony_ci#include "vector"
1995489c19Sopenharmony_ci
2095489c19Sopenharmony_cinamespace OHOS {
2195489c19Sopenharmony_cinamespace bluetooth {
2295489c19Sopenharmony_ciAvrcMpItem::AvrcMpItem(uint8_t itemType, uint16_t playerId, uint8_t majorType, uint32_t subType, uint8_t playStatus,
2395489c19Sopenharmony_ci    const std::vector<uint8_t> &features, const std::string &name)
2495489c19Sopenharmony_ci    : itemType_(itemType),
2595489c19Sopenharmony_ci      playerId_(playerId),
2695489c19Sopenharmony_ci      majorType_(majorType),
2795489c19Sopenharmony_ci      subType_(subType),
2895489c19Sopenharmony_ci      playStatus_(playStatus),
2995489c19Sopenharmony_ci      features_(features),
3095489c19Sopenharmony_ci      name_(name)
3195489c19Sopenharmony_ci{}
3295489c19Sopenharmony_ciAvrcMeItem::AvrcMeItem(uint8_t itemType, uint64_t uid, uint8_t type, uint8_t playable, const std::string &name,
3395489c19Sopenharmony_ci    const std::vector<uint32_t> &attributes, const std::vector<std::string> &values)
3495489c19Sopenharmony_ci    : itemType_(itemType),
3595489c19Sopenharmony_ci      uid_(uid),
3695489c19Sopenharmony_ci      type_(type),
3795489c19Sopenharmony_ci      playable_(playable),
3895489c19Sopenharmony_ci      name_(name),
3995489c19Sopenharmony_ci      attributes_(attributes),
4095489c19Sopenharmony_ci      values_(values)
4195489c19Sopenharmony_ci{}
4295489c19Sopenharmony_ci}  // namespace bluetooth
4395489c19Sopenharmony_ci}  // namespace OHOS