ภาพรวม
คลาสสําหรับควบคุมการเล่นสื่อบนเครื่องรับการแคสต์
อินสแตนซ์ของออบเจ็กต์นี้ใช้เป็นพร็อพเพอร์ตี้ GCKSession::remoteMediaClient
- Since
- 3.0
รับค่า NSObject
สรุปเมธอดของอินสแตนซ์ | |
(void) | - addListener: |
เพิ่ม Listener ในรายการ Listener ของออบเจ็กต์นี้ เพิ่มเติม... | |
(void) | - removeListener: |
นํา Listener ออกจากรายการ Listener ของออบเจ็กต์นี้ เพิ่มเติม... | |
(GCKRequest *) | - loadMediaWithLoadRequestData: |
โหลดและเริ่มเล่นรายการสื่อหรือคิวรายการสื่อที่มีข้อมูลคําขอ เพิ่มเติม... | |
(GCKRequest *) | - loadMedia: |
โหลดและเริ่มเล่นรายการสื่อใหม่ที่มีตัวเลือกเริ่มต้น เพิ่มเติม... | |
(GCKRequest *) | - loadMedia:withOptions: |
โหลดและเริ่มเล่นรายการสื่อใหม่ด้วยตัวเลือกที่ระบุ เพิ่มเติม... | |
(GCKRequest *) | - loadMedia:autoplay: |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - loadMedia:autoplay:playPosition: |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - loadMedia:autoplay:playPosition:customData: |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - loadMedia:autoplay:playPosition:activeTrackIDs: |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - loadMedia:autoplay:playPosition:activeTrackIDs:customData: |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - setPlaybackRate: |
กําหนดอัตราการเล่นสําหรับเซสชันสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - setPlaybackRate:customData: |
กําหนดอัตราการเล่นสําหรับเซสชันสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - setActiveTrackIDs: |
ตั้งค่าแทร็กที่มีการใช้งาน เพิ่มเติม... | |
(GCKRequest *) | - setTextTrackStyle: |
ตั้งค่ารูปแบบแทร็กข้อความ เพิ่มเติม... | |
(GCKRequest *) | - pause |
หยุดการเล่นรายการสื่อปัจจุบันชั่วคราว เพิ่มเติม... | |
(GCKRequest *) | - pauseWithCustomData: |
หยุดการเล่นรายการสื่อปัจจุบันชั่วคราว เพิ่มเติม... | |
(GCKRequest *) | - stop |
หยุดการเล่นรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - stopWithCustomData: |
หยุดการเล่นรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - play |
เริ่มเล่น (หรือเล่นต่อ) ในรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - playWithCustomData: |
เริ่มเล่น (หรือเล่นต่อ) ในรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - skipAd |
ส่งคําขอเพื่อข้ามโฆษณาที่กําลังเล่น เพิ่มเติม... | |
(GCKRequest *) | - seekWithOptions: |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - seekToTimeInterval: |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - seekToTimeInterval:resumeState: |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - seekToTimeInterval:resumeState:customData: |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - queueFetchItemIDs |
ขอรายการรหัสรายการสําหรับคิว เพิ่มเติม... | |
(GCKRequest *) | - queueFetchItemsForIDs: |
ขอข้อมูลทั้งหมดของรายการในคิวที่มีรหัสรายการที่ระบุ เพิ่มเติม... | |
(GCKRequest *) | - queueLoadItems:startIndex:repeatMode: |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - queueLoadItems:startIndex:repeatMode:customData: |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - queueLoadItems:startIndex:playPosition:repeatMode:customData: |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - queueLoadItems:withOptions: |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ) เพิ่มเติม... | |
(GCKRequest *) | - queueInsertItems:beforeItemWithID: |
แทรกรายการสื่อใหม่ลงในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueInsertItems:beforeItemWithID:customData: |
แทรกรายการสื่อใหม่ลงในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueInsertItem:beforeItemWithID: |
วิธีที่สะดวกสําหรับแทรกรายการลงในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueInsertAndPlayItem:beforeItemWithID: |
วิธีที่สะดวกสําหรับแทรกรายการลงในคิวแล้วทําให้เป็นรายการปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - queueInsertAndPlayItem:beforeItemWithID:playPosition:customData: |
วิธีที่สะดวกสําหรับแทรกรายการลงในคิวแล้วทําให้เป็นรายการปัจจุบัน เพิ่มเติม... | |
(GCKRequest *) | - queueUpdateItems: |
อัปเดตคิว เพิ่มเติม... | |
(GCKRequest *) | - queueUpdateItems:customData: |
อัปเดตคิว เพิ่มเติม... | |
(GCKRequest *) | - queueRemoveItemsWithIDs: |
นํารายการสื่อออกจากคิว เพิ่มเติม... | |
(GCKRequest *) | - queueRemoveItemsWithIDs:customData: |
นํารายการสื่อออกจากคิว เพิ่มเติม... | |
(GCKRequest *) | - queueRemoveItemWithID: |
วิธีการง่ายๆ ในการนํารายการรายการเดียวออกจากคิว เพิ่มเติม... | |
(GCKRequest *) | - queueReorderItemsWithIDs:insertBeforeItemWithID: |
เปลี่ยนลําดับรายการสื่อในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueReorderItemsWithIDs:insertBeforeItemWithID:customData: |
เปลี่ยนลําดับรายการสื่อในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueMoveItemWithID:beforeItemWithID: |
วิธีที่สะดวกในการย้ายรายการเดียวไปยังคิว เพิ่มเติม... | |
(GCKRequest *) | - queueJumpToItemWithID: |
ข้ามไปยังรายการที่มีรหัสที่ระบุไว้ในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueJumpToItemWithID:customData: |
ข้ามไปยังรายการที่มีรหัสที่ระบุไว้ในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueJumpToItemWithID:playPosition:customData: |
ข้ามไปยังรายการที่มีรหัสที่ระบุไว้ในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueNextItem |
ย้ายไปยังรายการถัดไปในคิว เพิ่มเติม... | |
(GCKRequest *) | - queuePreviousItem |
ย้ายไปยังรายการก่อนหน้าในคิว เพิ่มเติม... | |
(GCKRequest *) | - queueSetRepeatMode: |
ตั้งค่าโหมดการทําซ้ําคิว เพิ่มเติม... | |
(GCKRequest *) | - setStreamVolume: |
ตั้งระดับเสียงสตรีม เพิ่มเติม... | |
(GCKRequest *) | - setStreamVolume:customData: |
ตั้งระดับเสียงสตรีม เพิ่มเติม... | |
(GCKRequest *) | - setStreamMuted: |
กําหนดว่าจะปิดเสียงสตรีมหรือไม่ เพิ่มเติม... | |
(GCKRequest *) | - setStreamMuted:customData: |
กําหนดว่าจะปิดเสียงสตรีมหรือไม่ เพิ่มเติม... | |
(GCKRequest *) | - requestStatus |
ส่งคําขอข้อมูลสถานะสื่อที่อัปเดตจากผู้รับ เพิ่มเติม... | |
(NSTimeInterval) | - approximateStreamPosition |
แสดงตําแหน่งของสตรีมโดยประมาณที่คํานวณจากข้อมูลสตรีมที่ได้รับล่าสุดและเวลาในอดีตนับตั้งแต่การอัปเดต เพิ่มเติม... | |
(NSTimeInterval) | - approximateLiveSeekableRangeStart |
แสดงตําแหน่งเริ่มต้นโดยประมาณของช่วงที่สามารถสืบค้นได้ โดยคํานวณจากข้อมูลสตรีมที่ได้รับล่าสุด และกรอบเวลาที่ผ่านไปนับจากการอัปเดต เพิ่มเติม... | |
(NSTimeInterval) | - approximateLiveSeekableRangeEnd |
แสดงผลตําแหน่งสิ้นสุดโดยประมาณของช่วงที่ขอได้ซึ่งคํานวณจากข้อมูลสตรีมที่ได้รับล่าสุดและเวลาที่ผ่านมานับตั้งแต่การอัปเดต เพิ่มเติม... | |
(void) | - notifyDidStartMediaSession |
เมื่อต้องการเรียกคลาสย่อยๆ เมื่อเซสชันสื่อเริ่มต้น นั่นหมายถึงหลังจากที่โหลดสื่อใหม่ในโปรแกรมเล่นระยะไกลสําเร็จแล้ว เพิ่มเติม... | |
(void) | - notifyDidUpdateMediaStatus |
ถูกเรียกโดยคลาสย่อยเมื่อใดก็ตามที่ออบเจ็กต์ mediaStatus ของไคลเอ็นต์มีการเปลี่ยนแปลง เพิ่มเติม... | |
(void) | - notifyDidUpdateQueue |
ถูกเรียกโดยคลาสย่อยเมื่อใดก็ตามที่คิวสื่อที่จัดการโดยไคลเอ็นต์มีการเปลี่ยนแปลง เพิ่มเติม... | |
(void) | - notifyDidUpdatePreloadStatus |
ถูกเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่ GCKMediaStatus::preloadedItemID ของ GCKMediaStatus ของไคลเอ็นต์มีการเปลี่ยนแปลง เพิ่มเติม... | |
(void) | - notifyDidUpdateMetadata |
เรียกใช้โดยคลาสย่อยเมื่อข้อมูลเมตามีการเปลี่ยนแปลง เพิ่มเติม... | |
(void) | - notifyDidReceiveQueueItemIDs: |
ถูกเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่ได้รับรหัสรายการคิวสื่อ เพิ่มเติม... | |
(void) | - notifyDidInsertQueueItemsWithIDs:beforeItemWithID: |
หากต้องการเรียกใช้โดยคลาสย่อย เมื่อมีการแทรกลําดับคิวที่ต่อเนื่องกันลงในคิว เพิ่มเติม... | |
(void) | - notifyDidUpdateQueueItemsWithIDs: |
เพื่อเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่มีการอัปเดตรายการคิวที่มีอยู่ในคิว เพิ่มเติม... | |
(void) | - notifyDidRemoveQueueItemsWithIDs: |
จะมีการเรียกใช้โดยคลาสย่อยเมื่อมีการนําลําดับคิวที่ต่อเนื่องกันออกจากคิว เพิ่มเติม... | |
(void) | - notifyDidReceiveQueueItems: |
ถูกเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่ได้รับรายการคิว เพิ่มเติม... | |
สรุปพร็อพเพอร์ตี้ | |
BOOL | connected |
แฟล็กที่ระบุว่าออบเจ็กต์นี้เชื่อมต่อกับเซสชันหรือไม่ เพิ่มเติม... | |
GCKMediaStatus * | mediaStatus |
สถานะสื่อปัจจุบันตามที่ช่องทางควบคุมสื่อรายงาน เพิ่มเติม... | |
GCKMediaQueue * | mediaQueue |
คิวสื่อ เพิ่มเติม... | |
NSTimeInterval | timeSinceLastMediaStatusUpdate |
ระยะเวลานับตั้งแต่ที่มีการอัปเดตสถานะสื่อครั้งล่าสุด เพิ่มเติม... | |
BOOL | playingLiveStream |
การแจ้งที่ระบุว่าลูกค้ารายนี้กําลังเล่นสตรีมแบบสดไหม เพิ่มเติม... | |
id < GCKRemoteMediaClientAdInfoParserDelegate > | adInfoParserDelegate |
ผู้รับมอบสิทธิ์ที่สามารถแยกข้อมูลช่วงพักโฆษณาจากข้อมูลที่กําหนดเองในออบเจ็กต์ GCKMediaStatus เพิ่มเติม... | |
รายละเอียดของเมธอด
- (void) addListener: | (id< GCKRemoteMediaClientListener >) | listener |
เพิ่ม Listener ในรายการ Listener ของออบเจ็กต์นี้
Listener ที่เพิ่มเข้ามาถือไว้อย่างอ่อน และควรเก็บไว้เพื่อหลีกเลี่ยงการพบดีลโดยไม่คาดคิด
- Parameters
-
listener The listener to add.
- (void) removeListener: | (id< GCKRemoteMediaClientListener >) | listener |
นํา Listener ออกจากรายการ Listener ของออบเจ็กต์นี้
- Parameters
-
listener The listener to remove.
- (GCKRequest *) loadMediaWithLoadRequestData: | (GCKMediaLoadRequestData *) | requestData |
โหลดและเริ่มเล่นรายการสื่อหรือคิวรายการสื่อที่มีข้อมูลคําขอ
- Parameters
-
requestData Describes the media load request.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.4.1
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo |
โหลดและเริ่มเล่นรายการสื่อใหม่ที่มีตัวเลือกเริ่มต้น
เราขอแนะนําให้ใช้ loadMediaWithLoadRequestData: แทน ซึ่งเป็นคําสั่งโหลดขั้นสูงที่รองรับการโหลดรายการเดียวหรือคิวที่มีตัวเลือกเพิ่มเติม
- Parameters
-
mediaInfo Describes the media item to load.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo | |
withOptions: | (GCKMediaLoadOptions *) | options | |
โหลดและเริ่มเล่นรายการสื่อใหม่ด้วยตัวเลือกที่ระบุ
เราขอแนะนําให้ใช้ loadMediaWithLoadRequestData: แทน ซึ่งเป็นคําสั่งโหลดขั้นสูงที่รองรับการโหลดรายการเดียวหรือคิวที่มีตัวเลือกเพิ่มเติม
- Parameters
-
mediaInfo Describes the media item to load. options The load options for this request.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.0
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo | |
autoplay: | (BOOL) | autoplay | |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
mediaInfo Describes the media item to load. autoplay Whether playback should start immediately.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo | |
autoplay: | (BOOL) | autoplay | |
playPosition: | (NSTimeInterval) | playPosition | |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
mediaInfo Describes the media item to load. autoplay Whether playback should start immediately. playPosition The initial playback position.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo | |
autoplay: | (BOOL) | autoplay | |
playPosition: | (NSTimeInterval) | playPosition | |
customData: | (nullable id) | customData | |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
mediaInfo Describes the media item to load. autoplay Whether playback should start immediately. playPosition The initial playback position. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo | |
autoplay: | (BOOL) | autoplay | |
playPosition: | (NSTimeInterval) | playPosition | |
activeTrackIDs: | (nullable NSArray< NSNumber * > *) | activeTrackIDs | |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
mediaInfo Describes the media item to load. autoplay Whether playback should start immediately. playPosition The initial playback position. activeTrackIDs An array of integers specifying the active tracks. May be nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) loadMedia: | (GCKMediaInformation *) | mediaInfo | |
autoplay: | (BOOL) | autoplay | |
playPosition: | (NSTimeInterval) | playPosition | |
activeTrackIDs: | (nullable NSArray< NSNumber * > *) | activeTrackIDs | |
customData: | (nullable id) | customData | |
โหลดและอาจเริ่มเล่นรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
mediaInfo Describes the media item to load. autoplay Whether playback should start immediately. playPosition The initial playback position. activeTrackIDs An array of integers specifying the active tracks. May be nil
.customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) setPlaybackRate: | (float) | playbackRate |
กําหนดอัตราการเล่นสําหรับเซสชันสื่อปัจจุบัน
- Parameters
-
playbackRate The new playback rate.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.0
- (GCKRequest *) setPlaybackRate: | (float) | playbackRate | |
customData: | (nullable id) | customData | |
กําหนดอัตราการเล่นสําหรับเซสชันสื่อปัจจุบัน
- Parameters
-
playbackRate The new playback rate, which must be between GCKMediaLoadOptions::kGCKMediaMinPlaybackRate and GCKMediaLoadOptions::kGCKMediaMaxPlaybackRate. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.0
- (GCKRequest *) setActiveTrackIDs: | (nullable NSArray< NSNumber * > *) | activeTrackIDs |
ตั้งค่าแทร็กที่มีการใช้งาน
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
activeTrackIDs An array of integers specifying the active tracks. May be empty or nil
to disable any currently active tracks.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) setTextTrackStyle: | (nullable GCKMediaTextTrackStyle *) | textTrackStyle |
ตั้งค่ารูปแบบแทร็กข้อความ
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
textTrackStyle The text track style. The style will not be changed if this is nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) pause |
หยุดการเล่นรายการสื่อปัจจุบันชั่วคราว
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) pauseWithCustomData: | (nullable id) | customData |
หยุดการเล่นรายการสื่อปัจจุบันชั่วคราว
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) stop |
หยุดการเล่นรายการสื่อปัจจุบัน
หากคิวโหลดอยู่ในขณะนี้ ระบบจะนําคิวนั้นออก คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) stopWithCustomData: | (nullable id) | customData |
หยุดการเล่นรายการสื่อปัจจุบัน
หากคิวโหลดอยู่ในขณะนี้ ระบบจะนําคิวนั้นออก คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) play |
เริ่มเล่น (หรือเล่นต่อ) ในรายการสื่อปัจจุบัน
การเล่นจะเริ่มเล่นที่จุดเริ่มต้นของสตรีมเสมอ คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) playWithCustomData: | (nullable id) | customData |
เริ่มเล่น (หรือเล่นต่อ) ในรายการสื่อปัจจุบัน
การเล่นจะเริ่มเล่นที่จุดเริ่มต้นของสตรีมเสมอ คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) skipAd |
- (GCKRequest *) seekWithOptions: | (GCKMediaSeekOptions *) | options |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
options The seek options for the request.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.0
- (GCKRequest *) seekToTimeInterval: | (NSTimeInterval) | position |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
position The new position from the beginning of the stream.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ findWithOptions:
- (GCKRequest *) seekToTimeInterval: | (NSTimeInterval) | position | |
resumeState: | (GCKMediaResumeState) | resumeState | |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
position The new position interval from the beginning of the stream. resumeState The action to take after the seek operation has finished.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ findWithOptions:
- (GCKRequest *) seekToTimeInterval: | (NSTimeInterval) | position | |
resumeState: | (GCKMediaResumeState) | resumeState | |
customData: | (nullable id) | customData | |
ข้ามไปที่ตําแหน่งใหม่ในรายการสื่อปัจจุบัน
คําขอจะล้มเหลวหากไม่มีสถานะสื่อปัจจุบัน
- Parameters
-
position The new position from the beginning of the stream. resumeState The action to take after the seek operation has finished. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ findWithOptions:
- (GCKRequest *) queueFetchItemIDs |
ขอรายการรหัสรายการสําหรับคิว
ผลลัพธ์จะถูกส่งไปยัง GCKRemoteMediaClientDelegate::remoteMediaClient:didReceiveQueueItemIDs:
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.1
- (GCKRequest *) queueFetchItemsForIDs: | (NSArray< NSNumber * > *) | queueItemIDs |
ขอข้อมูลทั้งหมดของรายการในคิวที่มีรหัสรายการที่ระบุ
ผลลัพธ์จะถูกส่งไปยัง GCKRemoteMediaClientDelegate::remoteMediaClient:didReceiveQueueItems:
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Since
- 4.1
- (GCKRequest *) queueLoadItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
startIndex: | (NSUInteger) | startIndex | |
repeatMode: | (GCKMediaRepeatMode) | repeatMode | |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
queueItems An array of GCKMediaQueueItem instances to load. Must not be nil
or empty.startIndex The index of the item in the items array that should be played first. repeatMode The repeat mode for playing the queue.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) queueLoadItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
startIndex: | (NSUInteger) | startIndex | |
repeatMode: | (GCKMediaRepeatMode) | repeatMode | |
customData: | (nullable id) | customData | |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
queueItems An array of GCKMediaQueueItem instances to load. Must not be nil
or empty.startIndex The index of the item in the items array that should be played first. repeatMode The repeat mode for playing the queue. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) queueLoadItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
startIndex: | (NSUInteger) | startIndex | |
playPosition: | (NSTimeInterval) | playPosition | |
repeatMode: | (GCKMediaRepeatMode) | repeatMode | |
customData: | (nullable id) | customData | |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ)
- Parameters
-
queueItems An array of GCKMediaQueueItem instances to load. Must not be nil
or empty.startIndex The index of the item in the items array that should be played first. playPosition The initial playback position for the item when it is first played, relative to the beginning of the stream. This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used. repeatMode The repeat mode for playing the queue. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- Deprecated:
- ใช้ loadMediaWithLoadRequestData:
- (GCKRequest *) queueLoadItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
withOptions: | (GCKMediaQueueLoadOptions *) | options | |
โหลดและอาจเริ่มเล่นคิวรายการสื่อใหม่ (ไม่บังคับ)
เราขอแนะนําให้ใช้ loadMediaWithLoadRequestData: แทน ซึ่งเป็นคําสั่งโหลดขั้นสูงที่รองรับการโหลดรายการเดียวหรือคิวที่มีตัวเลือกเพิ่มเติม
- Parameters
-
queueItems An array of GCKMediaQueueItem instances to load. Must not be nil
or empty.options The load options used to load the queue items, as defined by GCKMediaQueueLoadOptions
- Since
- 4.3.1
- (GCKRequest *) queueInsertItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
beforeItemWithID: | (NSUInteger) | beforeItemID | |
แทรกรายการสื่อใหม่ลงในคิว
- Parameters
-
queueItems An array of GCKMediaQueueItem instances to insert. Must not be nil
or empty.beforeItemID The ID of the item that will be located immediately after the inserted list. If the value is kGCKMediaQueueInvalidItemID, the inserted list will be appended to the end of the queue.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueInsertItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
beforeItemWithID: | (NSUInteger) | beforeItemID | |
customData: | (nullable id) | customData | |
แทรกรายการสื่อใหม่ลงในคิว
- Parameters
-
queueItems An array of GCKMediaQueueItem instances to insert. Must not be nil
or empty.beforeItemID ID of the item that will be located immediately after the inserted list. If the value is kGCKMediaQueueInvalidItemID, the inserted list will be appended to the end of the queue. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueInsertItem: | (GCKMediaQueueItem *) | item | |
beforeItemWithID: | (NSUInteger) | beforeItemID | |
วิธีที่สะดวกสําหรับแทรกรายการลงในคิว
- Parameters
-
item The item to insert. beforeItemID The ID of the item that will be located immediately after the inserted item. If the value is kGCKMediaQueueInvalidItemID, or does not refer to any item currently in the queue, the inserted item will be appended to the end of the queue.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueInsertAndPlayItem: | (GCKMediaQueueItem *) | item | |
beforeItemWithID: | (NSUInteger) | beforeItemID | |
วิธีที่สะดวกสําหรับแทรกรายการลงในคิวแล้วทําให้เป็นรายการปัจจุบัน
- Parameters
-
item The item to insert. beforeItemID The ID of the item that will be located immediately after the inserted item. If the value is kGCKMediaQueueInvalidItemID, or does not refer to any item currently in the queue, the inserted item will be appended to the end of the queue.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueInsertAndPlayItem: | (GCKMediaQueueItem *) | item | |
beforeItemWithID: | (NSUInteger) | beforeItemID | |
playPosition: | (NSTimeInterval) | playPosition | |
customData: | (nullable id) | customData | |
วิธีที่สะดวกสําหรับแทรกรายการลงในคิวแล้วทําให้เป็นรายการปัจจุบัน
- Parameters
-
item The item to insert. beforeItemID The ID of the item that will be located immediately after the inserted item. If the value is kGCKMediaQueueInvalidItemID, or does not refer to any item currently in the queue, the inserted item will be appended to the end of the queue. playPosition The initial playback position for the item when it is first played, relative to the beginning of the stream. This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueUpdateItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems |
อัปเดตคิว
- Parameters
-
queueItems The list of updated items.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueUpdateItems: | (NSArray< GCKMediaQueueItem * > *) | queueItems | |
customData: | (nullable id) | customData | |
อัปเดตคิว
- Parameters
-
queueItems The list of updated items. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueRemoveItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs |
นํารายการสื่อออกจากคิว
หากคิวว่างเปล่า ผลที่ตามมาคือเซสชันสื่อในปัจจุบันจะสิ้นสุดลง
- Parameters
-
itemIDs An array of media item IDs identifying the items to remove. Must not be nil
or empty.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueRemoveItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs | |
customData: | (nullable id) | customData | |
นํารายการสื่อออกจากคิว
หากคิวว่างเปล่า ผลที่ตามมาคือเซสชันสื่อในปัจจุบันจะสิ้นสุดลง
- Parameters
-
itemIDs An array of media item IDs identifying the items to remove. Must not be nil
or empty.customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueRemoveItemWithID: | (NSUInteger) | itemID |
วิธีการง่ายๆ ในการนํารายการรายการเดียวออกจากคิว
- Parameters
-
itemID The ID of the item to remove.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueReorderItemsWithIDs: | (NSArray< NSNumber * > *) | queueItemIDs | |
insertBeforeItemWithID: | (NSUInteger) | beforeItemID | |
เปลี่ยนลําดับรายการสื่อในคิว
- Parameters
-
queueItemIDs An array of media item IDs identifying the items to reorder. Must not be nil
or empty.beforeItemID ID of the item that will be located immediately after the reordered list. If the value is kGCKMediaQueueInvalidItemID, or does not refer to any item currently in the queue, the reordered list will be appended at the end of the queue.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueReorderItemsWithIDs: | (NSArray< NSNumber * > *) | queueItemIDs | |
insertBeforeItemWithID: | (NSUInteger) | beforeItemID | |
customData: | (nullable id) | customData | |
เปลี่ยนลําดับรายการสื่อในคิว
- Parameters
-
queueItemIDs An array of media item IDs identifying the items to reorder. Must not be nil
or empty.beforeItemID The ID of the item that will be located immediately after the reordered list. If the value is kGCKMediaQueueInvalidItemID, or does not refer to any item currently in the queue, the reordered list will be moved to the end of the queue. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueMoveItemWithID: | (NSUInteger) | itemID | |
beforeItemWithID: | (NSUInteger) | beforeItemID | |
วิธีที่สะดวกในการย้ายรายการเดียวไปยังคิว
- Parameters
-
itemID The ID of the item to move. beforeItemID The ID of the item that will be located immediately after the reordered list. If the value is kGCKMediaQueueInvalidItemID, or does not refer to any item currently in the queue, the item will be moved to the end of the queue.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueJumpToItemWithID: | (NSUInteger) | itemID |
ข้ามไปยังรายการที่มีรหัสที่ระบุไว้ในคิว
- Parameters
-
itemID The ID of the item to jump to.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueJumpToItemWithID: | (NSUInteger) | itemID | |
customData: | (nullable id) | customData | |
ข้ามไปยังรายการที่มีรหัสที่ระบุไว้ในคิว
- Parameters
-
itemID The ID of the item to jump to. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueJumpToItemWithID: | (NSUInteger) | itemID | |
playPosition: | (NSTimeInterval) | playPosition | |
customData: | (nullable id) | customData | |
ข้ามไปยังรายการที่มีรหัสที่ระบุไว้ในคิว
- Parameters
-
itemID The ID of the item to jump to. playPosition The initial playback position for the item when it is first played, relative to the beginning of the stream. This value is ignored when the same item is played again, for example when the queue repeats, or the item is later jumped to. In those cases the item's startTime is used. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueNextItem |
ย้ายไปยังรายการถัดไปในคิว
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queuePreviousItem |
ย้ายไปยังรายการก่อนหน้าในคิว
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) queueSetRepeatMode: | (GCKMediaRepeatMode) | repeatMode |
ตั้งค่าโหมดการทําซ้ําคิว
- Parameters
-
repeatMode The new repeat mode.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) setStreamVolume: | (float) | volume |
ตั้งระดับเสียงสตรีม
คําขอจะล้มเหลวหากไม่มีเซสชันสื่อในปัจจุบัน
- Parameters
-
volume The new volume, in the range [0.0 - 1.0].
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) setStreamVolume: | (float) | volume | |
customData: | (nullable id) | customData | |
ตั้งระดับเสียงสตรีม
คําขอจะล้มเหลวหากไม่มีเซสชันสื่อในปัจจุบัน
- Parameters
-
volume The new volume, in the range [0.0 - 1.0]. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) setStreamMuted: | (BOOL) | muted |
กําหนดว่าจะปิดเสียงสตรีมหรือไม่
คําขอจะล้มเหลวหากไม่มีเซสชันสื่อในปัจจุบัน
- Parameters
-
muted Whether the stream should be muted or unmuted.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) setStreamMuted: | (BOOL) | muted | |
customData: | (nullable id) | customData | |
กําหนดว่าจะปิดเสียงสตรีมหรือไม่
คําขอจะล้มเหลวหากไม่มีเซสชันสื่อในปัจจุบัน
- Parameters
-
muted Whether the stream should be muted or unmuted. customData Custom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil
.
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (GCKRequest *) requestStatus |
ส่งคําขอข้อมูลสถานะสื่อที่อัปเดตจากผู้รับ
- การคืนสินค้า
- ออบเจ็กต์ GCKRequest สําหรับติดตามคําขอนี้
- (NSTimeInterval) approximateStreamPosition |
แสดงตําแหน่งของสตรีมโดยประมาณที่คํานวณจากข้อมูลสตรีมที่ได้รับล่าสุดและเวลาในอดีตนับตั้งแต่การอัปเดต
แสดงผล 0 ถ้าช่องไม่ได้เชื่อมต่อ หรือไม่มีการโหลดสื่อในขณะนี้
- (NSTimeInterval) approximateLiveSeekableRangeStart |
แสดงตําแหน่งเริ่มต้นโดยประมาณของช่วงที่สามารถสืบค้นได้ โดยคํานวณจากข้อมูลสตรีมที่ได้รับล่าสุด และกรอบเวลาที่ผ่านไปนับจากการอัปเดต
แสดงผล 0 ถ้าช่องไม่ได้เชื่อมต่อ หรือไม่มีการโหลดสื่อในขณะนี้ แสดงผล kGCKInvalidTimeInterval
หากสตรีมไม่ใช่สตรีมแบบสดหรือไม่มีช่วงที่ต้องการ
- Since
- 4.4.1
- (NSTimeInterval) approximateLiveSeekableRangeEnd |
แสดงผลตําแหน่งสิ้นสุดโดยประมาณของช่วงที่ขอได้ซึ่งคํานวณจากข้อมูลสตรีมที่ได้รับล่าสุดและเวลาที่ผ่านมานับตั้งแต่การอัปเดต
แสดงผล 0 ถ้าช่องไม่ได้เชื่อมต่อ หรือไม่มีการโหลดสื่อในขณะนี้ แสดงผล kGCKInvalidTimeInterval
หากสตรีมไม่ใช่สตรีมแบบสดหรือไม่มีช่วงที่ต้องการ
- Since
- 4.4.1
- (void) notifyDidStartMediaSession |
เมื่อต้องการเรียกคลาสย่อยๆ เมื่อเซสชันสื่อเริ่มต้น นั่นหมายถึงหลังจากที่โหลดสื่อใหม่ในโปรแกรมเล่นระยะไกลสําเร็จแล้ว
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidUpdateMediaStatus |
ถูกเรียกโดยคลาสย่อยเมื่อใดก็ตามที่ออบเจ็กต์ mediaStatus ของไคลเอ็นต์มีการเปลี่ยนแปลง
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidUpdateQueue |
ถูกเรียกโดยคลาสย่อยเมื่อใดก็ตามที่คิวสื่อที่จัดการโดยไคลเอ็นต์มีการเปลี่ยนแปลง
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidUpdatePreloadStatus |
ถูกเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่ GCKMediaStatus::preloadedItemID ของ GCKMediaStatus ของไคลเอ็นต์มีการเปลี่ยนแปลง
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidUpdateMetadata |
เรียกใช้โดยคลาสย่อยเมื่อข้อมูลเมตามีการเปลี่ยนแปลง
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidReceiveQueueItemIDs: | (NSArray< NSNumber * > *) | itemIDs |
ถูกเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่ได้รับรหัสรายการคิวสื่อ
- Parameters
-
itemIDs The list of queue item IDs.
- Since
- 4.1
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidInsertQueueItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs | |
beforeItemWithID: | (GCKMediaQueueItemID) | beforeItemID | |
หากต้องการเรียกใช้โดยคลาสย่อย เมื่อมีการแทรกลําดับคิวที่ต่อเนื่องกันลงในคิว
- Parameters
-
itemIDs The list of queue item IDs identifying the items that were inserted. beforeItemID The ID of the queue item in front of which the new items were inserted, or kGCKInvalidQueueItemID if the items were appended to the end of the queue.
- Since
- 4.1
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidUpdateQueueItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs |
เพื่อเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่มีการอัปเดตรายการคิวที่มีอยู่ในคิว
- Parameters
-
itemIDs The list of queue item IDs identifying the items that were updated.
- Since
- 4.1
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidRemoveQueueItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs |
จะมีการเรียกใช้โดยคลาสย่อยเมื่อมีการนําลําดับคิวที่ต่อเนื่องกันออกจากคิว
- Parameters
-
itemIDs The list of queue item IDs identifying the items that were removed.
- Since
- 4.1
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
- (void) notifyDidReceiveQueueItems: | (NSArray< GCKMediaQueueItem * > *) | items |
ถูกเรียกใช้โดยคลาสย่อยเมื่อใดก็ตามที่ได้รับรายการคิว
- Parameters
-
items The list of queue items.
- Since
- 4.1
ให้บริการโดยหมวดหมู่ GCKRemoteMediaClient(Protected)
รายละเอียดอสังหาริมทรัพย์
|
readnonatomicassign |
แฟล็กที่ระบุว่าออบเจ็กต์นี้เชื่อมต่อกับเซสชันหรือไม่
|
readnonatomicstrong |
สถานะสื่อปัจจุบันตามที่ช่องทางควบคุมสื่อรายงาน
|
readnonatomicstrong |
คิวสื่อ
- Since
- 4.3.4
|
readnonatomicassign |
ระยะเวลานับตั้งแต่ที่มีการอัปเดตสถานะสื่อครั้งล่าสุด
หากยังไม่ได้รับสถานะสื่อ ค่านี้จะเป็น NAN
|
readnonatomicassign |
การแจ้งที่ระบุว่าลูกค้ารายนี้กําลังเล่นสตรีมแบบสดไหม
- Since
- 4.4.1
|
readwritenonatomicweak |
ผู้รับมอบสิทธิ์ที่สามารถแยกข้อมูลช่วงพักโฆษณาจากข้อมูลที่กําหนดเองในออบเจ็กต์ GCKMediaStatus
- Deprecated:
- ใช้ GCKAdBreakStatus แทน