180922886Sopenharmony_ci/*
280922886Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd.
380922886Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
480922886Sopenharmony_ci * you may not use this file except in compliance with the License.
580922886Sopenharmony_ci * You may obtain a copy of the License at
680922886Sopenharmony_ci *
780922886Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
880922886Sopenharmony_ci *
980922886Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1080922886Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1180922886Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1280922886Sopenharmony_ci * See the License for the specific language governing permissions and
1380922886Sopenharmony_ci * limitations under the License.
1480922886Sopenharmony_ci */
1580922886Sopenharmony_ci
1680922886Sopenharmony_ci#ifndef OHOS_IAVCONTROLLER_CALLBACK_H
1780922886Sopenharmony_ci#define OHOS_IAVCONTROLLER_CALLBACK_H
1880922886Sopenharmony_ci
1980922886Sopenharmony_ci#include "avsession_info.h"
2080922886Sopenharmony_ci#include "iremote_broker.h"
2180922886Sopenharmony_ci
2280922886Sopenharmony_cinamespace OHOS::AVSession {
2380922886Sopenharmony_ciclass IAVControllerCallback : public AVControllerCallback, public IRemoteBroker {
2480922886Sopenharmony_cipublic:
2580922886Sopenharmony_ci    DECLARE_INTERFACE_DESCRIPTOR(u"ohos.avsession.IAVControllerCallback");
2680922886Sopenharmony_ci
2780922886Sopenharmony_ci    enum {
2880922886Sopenharmony_ci        CONTROLLER_CMD_ON_SESSION_DESTROY,
2980922886Sopenharmony_ci        CONTROLLER_CMD_ON_PLAYBACK_STATE_CHANGE,
3080922886Sopenharmony_ci        CONTROLLER_CMD_ON_METADATA_CHANGE,
3180922886Sopenharmony_ci        CONTROLLER_CMD_ON_ACTIVE_STATE_CHANGE,
3280922886Sopenharmony_ci        CONTROLLER_CMD_ON_VALID_COMMAND_CHANGE,
3380922886Sopenharmony_ci        CONTROLLER_CMD_ON_OUTPUT_DEVICE_CHANGE,
3480922886Sopenharmony_ci        CONTROLLER_CMD_ON_SET_SESSION_EVENT,
3580922886Sopenharmony_ci        CONTROLLER_CMD_ON_QUEUE_ITEMS_CHANGE,
3680922886Sopenharmony_ci        CONTROLLER_CMD_ON_QUEUE_TITLE_CHANGE,
3780922886Sopenharmony_ci        CONTROLLER_CMD_ON_SET_EXTRAS_EVENT,
3880922886Sopenharmony_ci        CONTROLLER_CMD_ON_AVCALL_METADATA_CHANGE,
3980922886Sopenharmony_ci        CONTROLLER_CMD_ON_AVCALL_STATE_CHANGE,
4080922886Sopenharmony_ci        CONTROLLER_CMD_MAX,
4180922886Sopenharmony_ci    };
4280922886Sopenharmony_ci};
4380922886Sopenharmony_ci}
4480922886Sopenharmony_ci#endif // OHOS_IAVCONTROLLER_CALLBACK_H