Estado del receptor que se muestra al usuario en la IU de la extensión.
Válido solo para receptores CUSTOM. Para mostrar el receptor como inactivo, establece displayStatus en nulo.
friendlyName
cadena
El nombre de usuario (con escape de URI) del receptor. Obligatoria.
isActiveInput
nullable boolean
El valor refleja si el dispositivo de transmisión es la entrada activa.
Si la entrada HDMI a la que está conectado el dispositivo de transmisión admite CEC y el dispositivo puede conocer el estado activo, se proporcionará este valor.
De lo contrario, es nulo.
etiqueta
cadena
Un identificador para el receptor que es único para el perfil del navegador y el origen del cliente de la API. Es estable en todos los reinicios del navegador, pero puede cambiar si el usuario borra su almacenamiento local.
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.Receiver\u003c/code\u003e objects describe a receiver running an application and are typically not created directly by the client.\u003c/p\u003e\n"],["\u003cp\u003eReceivers have properties like \u003ccode\u003efriendlyName\u003c/code\u003e, \u003ccode\u003ecapabilities\u003c/code\u003e, \u003ccode\u003evolume\u003c/code\u003e, and \u003ccode\u003ereceiverType\u003c/code\u003e providing information about the device.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elabel\u003c/code\u003e property uniquely identifies the receiver within the browser profile and origin, persisting across restarts unless local storage is cleared.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edisplayStatus\u003c/code\u003e property, specific to custom receivers, controls the status displayed in the extension UI and can be set to null for idle.\u003c/p\u003e\n"],["\u003cp\u003eWhile \u003ccode\u003evolume\u003c/code\u003e reflects the current receiver volume, \u003ccode\u003eisActiveInput\u003c/code\u003e indicates if the cast device is the active input source, if supported and detectable.\u003c/p\u003e\n"]]],[],null,["# Class: Receiver\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).Receiver\n===================================================================\n\nclass static\n\nDescribes the receiver running an application.\nNormally, these objects should not be created by the client.\n\nConstructor\n-----------\n\n### Receiver\n\nnew\nReceiver(label, friendlyName, capabilities, volume)\n\n| #### Parameter ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| label | string An identifier for the receiver. |\n| friendlyName | string The user-visible name of the receiver. |\n| capabilities | Optional Array of non-null [chrome.cast.Capability](/cast/docs/reference/web_sender/chrome.cast#.Capability) Set of receiver capabilities. Value must not be null. |\n| volume | Optional [chrome.cast.Volume](/cast/docs/reference/web_sender/chrome.cast.Volume) The receiver's current volume. Value must not be null. |\n\nProperties\n----------\n\n### capabilities\n\nnon-null Array of non-null [chrome.cast.Capability](/cast/docs/reference/web_sender/chrome.cast#.Capability)\n\nThe capabilities of the receiver, for example audio and video.\n\n### displayStatus\n\nnullable [chrome.cast.ReceiverDisplayStatus](/cast/docs/reference/web_sender/chrome.cast.ReceiverDisplayStatus)\n\nReceiver status shown to the user in the extension UI.\nOnly valid for CUSTOM receivers. To show the receiver as idle,\nset displayStatus to null.\n\n### friendlyName\n\nstring\n\nThe user given name (URI-escaped) for the receiver. Mandatory.\n\n### isActiveInput\n\nnullable boolean\n\nThe value reflects whether the cast device is the active input.\nIf the HDMI input the Cast device is connected to supports CEC and\nthe device can know the active status, this value will be provided.\nOtherwise, it is null.\n\n### label\n\nstring\n\nAn identifier for the receiver that is unique to the browser\nprofile and the origin of the API client. It is stable across browser\nrestarts, but may change if the user clears his local storage.\n\n### receiverType\n\nnon-null [chrome.cast.ReceiverType](/cast/docs/reference/web_sender/chrome.cast#.ReceiverType)\n\nThe type of receiver device. Mandatory.\n\n### volume\n\nnullable [chrome.cast.Volume](/cast/docs/reference/web_sender/chrome.cast.Volume)\n\nThe current volume of the receiver. If non-null, the volume's level and\nmuted properties will always be set."]]