blob: 8457c20c757fb69b90b51256bd8fc6a5630c8df1 [file] [log] [blame]
/*
*
* Copyright (c) 2022 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// THIS FILE IS GENERATED BY ZAP
// This file is generated from clusters-Enums.h.zapt
#pragma once
#include <clusters/shared/Enums.h>
#include <cstdint>
namespace chip {
namespace app {
namespace Clusters {
namespace ContentLauncher {
// Enum for CharacteristicEnum
enum class CharacteristicEnum : uint8_t
{
kForcedSubtitles = 0x00,
kDescribesVideo = 0x01,
kEasyToRead = 0x02,
kFrameBased = 0x03,
kMainProgram = 0x04,
kOriginalContent = 0x05,
kVoiceOverTranslation = 0x06,
kCaption = 0x07,
kSubtitle = 0x08,
kAlternate = 0x09,
kSupplementary = 0x0A,
kCommentary = 0x0B,
kDubbedTranslation = 0x0C,
kDescription = 0x0D,
kMetadata = 0x0E,
kEnhancedAudioIntelligibility = 0x0F,
kEmergency = 0x10,
kKaraoke = 0x11,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 18,
};
// Enum for MetricTypeEnum
enum class MetricTypeEnum : uint8_t
{
kPixels = 0x00,
kPercentage = 0x01,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 2,
};
// Enum for ParameterEnum
enum class ParameterEnum : uint8_t
{
kActor = 0x00,
kChannel = 0x01,
kCharacter = 0x02,
kDirector = 0x03,
kEvent = 0x04,
kFranchise = 0x05,
kGenre = 0x06,
kLeague = 0x07,
kPopularity = 0x08,
kProvider = 0x09,
kSport = 0x0A,
kSportsTeam = 0x0B,
kType = 0x0C,
kVideo = 0x0D,
kSeason = 0x0E,
kEpisode = 0x0F,
kAny = 0x10,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 17,
};
// Enum for StatusEnum
enum class StatusEnum : uint8_t
{
kSuccess = 0x00,
kURLNotAvailable = 0x01,
kAuthFailed = 0x02,
kTextTrackNotAvailable = 0x03,
kAudioTrackNotAvailable = 0x04,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 5,
};
// Bitmap for Feature
enum class Feature : uint32_t
{
kContentSearch = 0x1,
kURLPlayback = 0x2,
kAdvancedSeek = 0x4,
kTextTracks = 0x8,
kAudioTracks = 0x10,
};
// Bitmap for SupportedProtocolsBitmap
enum class SupportedProtocolsBitmap : uint32_t
{
kDash = 0x1,
kHls = 0x2,
};
} // namespace ContentLauncher
} // namespace Clusters
} // namespace app
} // namespace chip