[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.PhotoMediaMetadata\u003c/code\u003e provides a structured way to describe photo media for casting, including details like title, artist, location, and associated images.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties for essential photo metadata like dimensions (width, height), geolocation (latitude, longitude), creation timestamp, and photographer information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize \u003ccode\u003ePhotoMediaMetadata\u003c/code\u003e to create rich metadata descriptions for photos displayed on Cast-enabled devices.\u003c/p\u003e\n"]]],["The `PhotoMediaMetadata` class describes photo media content, containing properties like the photographer's name (`artist`), the photo's creation date/time (`creationDateTime`), height (`height`), width (`width`), and title (`title`). It also includes an array of associated images (`images`), location information with latitude (`latitude`), longitude (`longitude`) and location name (`location`). The class can be constructed using the `PhotoMediaMetadata()` constructor.\n"],null,["# Class: PhotoMediaMetadata\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).PhotoMediaMetadata\n========================================================================================================================================\n\nclass static\n\nA photo media description.\n\nConstructor\n-----------\n\n### PhotoMediaMetadata\n\nnew\nPhotoMediaMetadata()\n\nProperties\n----------\n\n### artist\n\n(string or undefined)\n\nName of the photographer.\n\n### creationDateTime\n\n(string or undefined)\n\nISO 8601 date and time the photo was taken, e.g. 2014-02-10T15:47:00Z.\n\n### height\n\n(number or undefined)\n\nPhoto height, in pixels.\n\n### images\n\n(non-null Array of non-null [chrome.cast.Image](/cast/docs/reference/web_sender/chrome.cast.Image) or undefined)\n\nImages associated with the content. Examples would include a photo\nthumbnail.\n\n### latitude\n\n(number or undefined)\n\nLatitude.\n\n### location\n\n(string or undefined)\n\nLocation where the photo was taken. For example, \"Seattle, Washington,\nUSA\".\n\n### longitude\n\n(number or undefined)\n\nLongitude.\n\n### title\n\n(string or undefined)\n\nPhoto title.\n\n### width\n\n(number or undefined)\n\nPhoto width, in pixels."]]