15e81a82fSopenharmony_ci/*
25e81a82fSopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd.
35e81a82fSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
45e81a82fSopenharmony_ci * you may not use this file except in compliance with the License.
55e81a82fSopenharmony_ci * You may obtain a copy of the License at
65e81a82fSopenharmony_ci *
75e81a82fSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
85e81a82fSopenharmony_ci *
95e81a82fSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
105e81a82fSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
115e81a82fSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
125e81a82fSopenharmony_ci * See the License for the specific language governing permissions and
135e81a82fSopenharmony_ci * limitations under the License.
145e81a82fSopenharmony_ci * Description: Enumarations ralated to Cast session.
155e81a82fSopenharmony_ci * Author: yuezihao
165e81a82fSopenharmony_ci * Create: 2023-11-06
175e81a82fSopenharmony_ci */
185e81a82fSopenharmony_ci
195e81a82fSopenharmony_ci#ifndef CAST_SESSION_ENUMS_H
205e81a82fSopenharmony_ci#define CAST_SESSION_ENUMS_H
215e81a82fSopenharmony_ci
225e81a82fSopenharmony_cinamespace OHOS {
235e81a82fSopenharmony_cinamespace CastEngine {
245e81a82fSopenharmony_cinamespace CastEngineService {
255e81a82fSopenharmony_cinamespace CastSessionEnums {
265e81a82fSopenharmony_ci
275e81a82fSopenharmony_cienum MessageId : int {
285e81a82fSopenharmony_ci    MSG_CONNECT,
295e81a82fSopenharmony_ci    MSG_SETUP,
305e81a82fSopenharmony_ci    MSG_SETUP_SUCCESS,
315e81a82fSopenharmony_ci    MSG_SETUP_FAILED,
325e81a82fSopenharmony_ci    MSG_SETUP_DONE,
335e81a82fSopenharmony_ci    MSG_PLAY,
345e81a82fSopenharmony_ci    MSG_PAUSE,
355e81a82fSopenharmony_ci    MSG_PLAY_REQ,
365e81a82fSopenharmony_ci    MSG_PAUSE_REQ,
375e81a82fSopenharmony_ci    MSG_DISCONNECT,
385e81a82fSopenharmony_ci    MSG_CONNECT_TIMEOUT,
395e81a82fSopenharmony_ci    MSG_PROCESS_TRIGGER_REQ,
405e81a82fSopenharmony_ci    MSG_UPDATE_VIDEO_SIZE,
415e81a82fSopenharmony_ci    MSG_STREAM_RECV_ACTION_EVENT_FROM_PEERS,
425e81a82fSopenharmony_ci    MSG_STREAM_SEND_ACTION_EVENT_TO_PEERS,
435e81a82fSopenharmony_ci    MSG_PEER_RENDER_READY,
445e81a82fSopenharmony_ci    MSG_ERROR,
455e81a82fSopenharmony_ci    MSG_SET_CAST_MODE,
465e81a82fSopenharmony_ci    MSG_READY_TO_PLAYING,
475e81a82fSopenharmony_ci    MSG_AUTH,
485e81a82fSopenharmony_ci    MSG_MIRROR_SEND_ACTION_EVENT_TO_PEERS,
495e81a82fSopenharmony_ci    MSG_ID_MAX,
505e81a82fSopenharmony_ci};
515e81a82fSopenharmony_ci} // namespace CastSessionEnums
525e81a82fSopenharmony_ci} // namespace CastEngineService
535e81a82fSopenharmony_ci} // namespace CastEngine
545e81a82fSopenharmony_ci} // namespace OHOS
555e81a82fSopenharmony_ci
565e81a82fSopenharmony_ci#endif