"use strict";
var import_Resource = require("#models/Resource.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import_Resource.Resource.add({
  tag: "cluster",
  name: "MediaInput",
  pics: "MEDIAINPUT",
  xref: "cluster\xA76.9",
  details: "This cluster provides an interface for controlling the Input Selector on a media device such as a Video Player.\nThis cluster would be implemented on TV and other media streaming devices, as well as devices that provide input to or output from such devices.\nThis cluster provides the list of available inputs and provides commands for selecting and renaming them.\nThe cluster server for Media Input is implemented by a device that has selectable input, such as a Video Player device.",
  children: [
    {
      tag: "attribute",
      name: "FeatureMap",
      xref: "cluster\xA76.9.4",
      children: [{ tag: "field", name: "NU", details: "Supports updates to the input names" }]
    },
    {
      tag: "attribute",
      name: "InputList",
      xref: "cluster\xA76.9.6.1",
      details: "This attribute shall provide a list of the media inputs supported by the device."
    },
    {
      tag: "attribute",
      name: "CurrentInput",
      xref: "cluster\xA76.9.6.2",
      details: "This attribute shall contain the value of the index field of the currently selected InputInfoStruct."
    },
    {
      tag: "command",
      name: "SelectInput",
      xref: "cluster\xA76.9.7.1",
      details: "Upon receipt, this command shall change the media input on the device to the input at a specific index in the Input List.",
      children: [{
        tag: "field",
        name: "Index",
        xref: "cluster\xA76.9.7.1.1",
        details: "This field shall indicate the index field of the InputInfoStruct from the InputList attribute in which to change to."
      }]
    },
    {
      tag: "command",
      name: "ShowInputStatus",
      xref: "cluster\xA76.9.7.2",
      details: "Upon receipt, this command shall display the active status of the input list on screen."
    },
    {
      tag: "command",
      name: "HideInputStatus",
      xref: "cluster\xA76.9.7.3",
      details: "Upon receipt, this command shall hide the input list from the screen."
    },
    {
      tag: "command",
      name: "RenameInput",
      xref: "cluster\xA76.9.7.4",
      details: "Upon receipt, this command shall rename the input at a specific index in the Input List.\nUpdates to the input name shall appear in the device's settings menus."
    },
    {
      tag: "datatype",
      name: "InputTypeEnum",
      xref: "cluster\xA76.9.5.1",
      children: [
        { tag: "field", name: "Internal", description: "Indicates content not coming from a physical input." }
      ]
    },
    {
      tag: "datatype",
      name: "InputInfoStruct",
      xref: "cluster\xA76.9.5.2",
      details: "This contains information about an input.",
      children: [
        {
          tag: "field",
          name: "Index",
          xref: "cluster\xA76.9.5.2.1",
          details: "This field shall indicate the unique index into the list of Inputs."
        },
        {
          tag: "field",
          name: "InputType",
          xref: "cluster\xA76.9.5.2.2",
          details: "This field shall indicate the type of input"
        },
        {
          tag: "field",
          name: "Name",
          xref: "cluster\xA76.9.5.2.3",
          details: "This field shall indicate the input name, such as \u201CHDMI 1\u201D. This field may be blank, but SHOULD be provided when known."
        },
        {
          tag: "field",
          name: "Description",
          xref: "cluster\xA76.9.5.2.4",
          details: "This field shall indicate the user editable input description, such as \u201CLiving room Playstation\u201D. This field may be blank, but SHOULD be provided when known."
        }
      ]
    }
  ]
});
//# sourceMappingURL=media-input.resource.js.map
