활성화해야 하는 트랙 트랙 ID의 배열입니다. 배열이 제공되지 않으면 기본 트랙이 활성화됩니다.
호환되지 않는 트랙 ID 2개가 제공되면 (예: 활성 오디오 트랙 2개) 명령어가 INVALID_PARAMETER와 함께 실패합니다.
자동재생
boolean
미디어의 자동 재생 여부입니다.
customData
null을 허용하는 객체
수신기 애플리케이션에서 설정한 맞춤 데이터 세트입니다.
itemId
null을 허용하는 숫자
큐에 있는 항목의 고유 식별자입니다. chrome.cast.media.QueueLoad 또는 chrome.cast.media.QueueInsert에 사용할 경우 null이어야 합니다 (항목이 처음 생성/삽입될 때 수신기에서 할당되기 때문입니다). 다른 작업의 경우 필수입니다.
항목 재생 시간(초)입니다. 실제 기간(startTime)보다 크면 실제 기간(startTime)으로 제한됩니다. 음수일 수 있으며, 이 경우 기간은 실제 항목 기간에서 제공된 기간을 뺀 값입니다. 지속 시간이 0이면 항목이 재생되지 않음을 의미합니다.
preloadTime
숫자
이 매개변수는 미디어 항목이 재생되기 전에 수신기에서 이 미디어 항목을 미리 로드할 수 있게 하는 힌트입니다. 따라서 대기열에서 재생되는 항목 간에 원활하게 전환할 수 있습니다.
시간은 이 항목 재생의 시작 (일반적으로 이전 항목 재생의 끝)을 기준으로 한 초 단위로 표시됩니다. 양수 값만 유효합니다. 예를 들어 값이 10초이면 이 항목은 이전 항목이 완료되기 10초 전에 미리 로드됩니다. 수신기는 이 값을 적용하려고 하지만 반드시 그런 것은 아닙니다. 예를 들어 값이 이전 항목 기간보다 큰 경우 수신기는 이전 항목이 재생을 시작한 직후에 이 항목을 미리 로드할 수 있습니다 (항목 두 개가 동시에 미리 로드되지 않음). 또한 currentItem 직후에 항목이 큐에 삽입되고 미리 로드하는 시간이 currentItem에 남은 시간보다 긴 경우 미리 로드가 최대한 빨리 발생합니다.
[[["이해하기 쉬움","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(UTC)"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.QueueItem\u003c/code\u003e represents an item within a media queue, like a song in a playlist.\u003c/p\u003e\n"],["\u003cp\u003eIt's constructed using \u003ccode\u003emediaInfo\u003c/code\u003e, which describes the media (e.g., title, artist).\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003emedia\u003c/code\u003e, \u003ccode\u003estartTime\u003c/code\u003e, \u003ccode\u003eplaybackDuration\u003c/code\u003e, and \u003ccode\u003eautoplay\u003c/code\u003e, allowing control over playback.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epreloadTime\u003c/code\u003e hints to the receiver to preload the item for smoother transitions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eactiveTrackIds\u003c/code\u003e enables specifying active tracks (like subtitles or audio languages).\u003c/p\u003e\n"]]],["A `QueueItem` represents an item in a media queue and requires `mediaInfo`. Key properties include: `activeTrackIds` (tracks to be active), `autoplay` (automatic playback), `customData` (application-specific data), `itemId` (unique identifier), `media` (media description), `playbackDuration` (playback time), `preloadTime` (time to preload before playback), and `startTime` (playback start time). `itemId` must be null when creating but mandatory for other operations. `preloadTime` hints when to load next.\n"],null,[]]