Reprezentuje głośność strumienia w sesji multimediów.
Zespół
Głośność
new
Volume()
Właściwości
poziom
(liczba lub wartość nieokreślona)
Wartość reprezentująca bieżący poziom głośności strumienia z zakresu od 0.0 do 1.0. Na przykład wartość 0.5 odzwierciedla głośność w połowie maksymalnej wartości.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 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,[]]