Class: ApplicationMetadata
-
The ApplicationMetadata class provides information about a Cast application.
-
It includes the application's ID, name, associated images, and supported namespaces.
-
The constructor requires session data as a parameter.
Constructor
new
ApplicationMetadata(sessionObj)
Properties
applicationId
string
The application's id.
images
non-null Array of non-null chrome.cast.Image
A list of images associated with the app.
name
string
Application's human-readable name.
namespaces
non-null Array of string
A list of the namespaces supported by the receiver application.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],["The `ApplicationMetadata` class stores data about a Cast application. It's created using a `sessionObj`, and contains the application's ID (`applicationId`), a list of associated images (`images`), its human-readable name (`name`), and an array of supported namespaces (`namespaces`). These properties are all defined as part of an active cast session. This class is used to represent static information about a Cast application.\n"]]