A value that represents the current stream volume level, ranging from0.0to1.0. For example a value of0.5would reflect the volume
at half of its maximum.
[[["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."],[[["\u003cp\u003eRepresents the current volume level and mute status of a media session stream.\u003c/p\u003e\n"],["\u003cp\u003eProvides a \u003ccode\u003elevel\u003c/code\u003e property (ranging from 0.0 to 1.0) to indicate the stream's volume.\u003c/p\u003e\n"],["\u003cp\u003eIncludes a \u003ccode\u003emuted\u003c/code\u003e property (boolean) to indicate whether the stream is muted.\u003c/p\u003e\n"]]],["The `Volume` class represents a media stream's volume. It has two properties: `level`, a number from 0.0 to 1.0 representing the current volume level (0.5 being half volume), and `muted`, a boolean indicating whether the stream is muted (true) or not. The class includes a constructor `new Volume()`. These properties allow for managing and representing the volume status of a media session.\n"],null,["# Class: Volume\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).Volume\n===============================================================================================================================================\n\nclass static\n\nRepresents the volume of a media session stream.\n\nConstructor\n-----------\n\n### Volume\n\nnew\nVolume()\n\nProperties\n----------\n\n### level\n\n(number or undefined)\n\nA value that represents the current stream volume level, ranging from\n`0.0` to `1.0`. For example a value of `0.5` would reflect the volume\nat half of its maximum.\n\n### muted\n\n(boolean or undefined)\n\n`true` indicates that the stream is muted."]]