GCKRemoteMediaClient Sınıfı

GCKRemoteMediaClient Sınıf Referansı

Genel Bakış

Cast alıcısında medya oynatmayı kontrol etmeye yarayan bir sınıf.

Bu sınıf, kapsadığı ve desteği sonlandırılan GCKMediaControlChannel ile aynı işlevi daha kullanışlı bir API ile sağlar. Başlıca farklar şunlardır:

  • Her istek, özel bir temsilciyle izlenebilen bir GCKRequest nesnesiyle temsil edilir.
  • GCKRemoteMediaClient, tek bir temsilci yerine birden fazla dinleyiciyi destekler.
yılından beri
3.0

NSObject'ten devralır.

Örnek Yöntem Özeti

(void) - addListener:
 Bu nesnenin dinleyici listesine bir dinleyici ekler. Diğer...
 
(void) - removeListener:
 Bu nesnenin dinleyici listesinden bir dinleyiciyi kaldırır. Diğer...
 
(GCKRequest *) - loadMedia:
 Yeni bir medya öğesini yükler ve oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:
 Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:
 Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:customData:
 Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:activeTrackIDs:
 Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:activeTrackIDs:customData:
 Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - setActiveTrackIDs:
 Etkin parçaları ayarlar. Diğer...
 
(GCKRequest *) - setTextTrackStyle:
 Metin parçası stilini ayarlar. Diğer...
 
(GCKRequest *) - pause
 Geçerli medya öğesinin oynatılmasını duraklatır. Diğer...
 
(GCKRequest *) - pauseWithCustomData:
 Geçerli medya öğesinin oynatılmasını duraklatır. Diğer...
 
(GCKRequest *) - stop
 Mevcut medya öğesinin oynatılmasını durdurur. Diğer...
 
(GCKRequest *) - stopWithCustomData:
 Mevcut medya öğesinin oynatılmasını durdurur. Diğer...
 
(GCKRequest *) - play
 Mevcut medya öğesinin oynatılmasını başlatır (veya devam ettirir). Diğer...
 
(GCKRequest *) - playWithCustomData:
 Mevcut medya öğesinin oynatılmasını başlatır (veya devam ettirir). Diğer...
 
(GCKRequest *) - seekToTimeInterval:
 Geçerli medya öğesinde yeni bir konuma gitmek için kullanılır. Diğer...
 
(GCKRequest *) - seekToTimeInterval:resumeState:
 Geçerli medya öğesinde yeni bir konuma gitmek için kullanılır. Diğer...
 
(GCKRequest *) - seekToTimeInterval:resumeState:customData:
 Geçerli medya öğesinde yeni bir konuma gitmek için kullanılır. Diğer...
 
(GCKRequest *) - queueLoadItems:startIndex:repeatMode:
 Yeni bir medya öğeleri sırasını yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueLoadItems:startIndex:repeatMode:customData:
 Yeni bir medya öğeleri sırasını yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueLoadItems:startIndex:playPosition:repeatMode:customData:
 Yeni bir medya öğeleri sırasını yükler ve isteğe bağlı olarak oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueInsertItems:beforeItemWithID:
 Kuyruğa yeni medya öğelerinin listesini ekler. Diğer...
 
(GCKRequest *) - queueInsertItems:beforeItemWithID:customData:
 Kuyruğa yeni medya öğelerinin listesini ekler. Diğer...
 
(GCKRequest *) - queueInsertItem:beforeItemWithID:
 Sıraya tek bir öğe ekleyen kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueInsertAndPlayItem:beforeItemWithID:
 Tek bir öğeyi sıraya ekleyip geçerli öğe yapan kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueInsertAndPlayItem:beforeItemWithID:playPosition:customData:
 Tek bir öğeyi sıraya ekleyip geçerli öğe yapan kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueUpdateItems:
 Sırayı günceller. Diğer...
 
(GCKRequest *) - queueUpdateItems:customData:
 Sırayı günceller. Diğer...
 
(GCKRequest *) - queueRemoveItemsWithIDs:
 Sıradan bir medya öğeleri listesini kaldırır. Diğer...
 
(GCKRequest *) - queueRemoveItemsWithIDs:customData:
 Sıradan bir medya öğeleri listesini kaldırır. Diğer...
 
(GCKRequest *) - queueRemoveItemWithID:
 Sıradan tek bir öğeyi kaldıran kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueReorderItemsWithIDs:insertBeforeItemWithID:
 Kuyruktaki medya öğeleri listesini yeniden sıralar. Diğer...
 
(GCKRequest *) - queueReorderItemsWithIDs:insertBeforeItemWithID:customData:
 Kuyruktaki medya öğeleri listesini yeniden sıralama Diğer...
 
(GCKRequest *) - queueMoveItemWithID:beforeItemWithID:
 Sıradaki tek bir öğeyi taşıyan kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueJumpToItemWithID:
 Kuyrukta belirtilen kimliğe sahip öğeye atlar. Diğer...
 
(GCKRequest *) - queueJumpToItemWithID:customData:
 Kuyrukta belirtilen kimliğe sahip öğeye atlar. Diğer...
 
(GCKRequest *) - queueJumpToItemWithID:playPosition:customData:
 Kuyrukta belirtilen kimliğe sahip öğeye atlar. Diğer...
 
(GCKRequest *) - queueNextItem
 Sıradaki bir sonraki öğeye gider. Diğer...
 
(GCKRequest *) - queuePreviousItem
 Kuyruktaki önceki öğeye gider. Diğer...
 
(GCKRequest *) - queueSetRepeatMode:
 Sıra tekrarlama modunu ayarlar. Diğer...
 
(GCKRequest *) - setStreamVolume:
 Akış sesini ayarlar. Diğer...
 
(GCKRequest *) - setStreamVolume:customData:
 Akış sesini ayarlar. Diğer...
 
(GCKRequest *) - setStreamMuted:
 Akışın sesi kapatılıp kapatılmayacağını ayarlar. Diğer...
 
(GCKRequest *) - setStreamMuted:customData:
 Akışın sesi kapatılıp kapatılmayacağını ayarlar. Diğer...
 
(GCKRequest *) - requestStatus
 Alıcıdan güncellenmiş medya durumu bilgilerini ister. Diğer...
 
(NSTimeInterval) - approximateStreamPosition
 Son alınan yayın bilgileri ve bu güncellemeden bu yana geçen süreye göre hesaplanan yaklaşık yayın konumunu döndürür. Diğer...
 
(void) - notifyDidStartMediaSession
 Bir medya oturumu her başladığında, yani yeni medya uzaktaki oynatıcıya başarıyla yüklendikten hemen sonra alt sınıflar tarafından çağrılır. Diğer...
 
(void) - notifyDidUpdateMediaStatus
 İstemcinin mediaStatus nesnesi her değiştiğinde alt sınıflar tarafından çağrılır. Diğer...
 
(void) - notifyDidUpdateQueue
 İstemci tarafından yönetilen medya sırası her değiştiğinde alt sınıflar tarafından çağrılır. Diğer...
 
(void) - notifyDidUpdatePreloadStatus
 İstemcinin GCKMediaStatus::preloadedItemID medya durumu her değiştiğinde alt sınıflar tarafından çağrılır. Diğer...
 
(void) - notifyDidUpdateMetadata
 Meta veriler her değiştiğinde alt sınıflar tarafından çağrılmalıdır. Diğer...
 

Tesis Özeti

BOOL connected
 Bu nesnenin bir oturuma bağlı olup olmadığını gösteren işaret. Diğer...
 
GCKMediaStatusmediaStatus
 Medya kontrol kanalı tarafından bildirilen mevcut medya durumu. Diğer...
 
NSTimeInterval timeSinceLastMediaStatusUpdate
 Son medya durumu güncellemesinin alınmasından bu yana geçen süre. Diğer...
 
id< GCKRemoteMediaClientAdInfoParserDelegateadInfoParserDelegate
 GCKMediaStatus nesnesindeki özel verilerden reklam arası bilgilerini ayıklayabilen bir temsilci. Diğer...
 

Yöntem Ayrıntıları

- (void) addListener: (id< GCKRemoteMediaClientListener >)  listener

Bu nesnenin dinleyici listesine bir dinleyici ekler.

Parameters
listenerThe listener to add.
- (void) removeListener: (id< GCKRemoteMediaClientListener >)  listener

Bu nesnenin dinleyici listesinden bir dinleyiciyi kaldırır.

Parameters
listenerThe listener to remove.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo

Yeni bir medya öğesini yükler ve oynatmaya başlar.

Parameters
mediaInfoAn object describing the media item to load.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay 

Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition 

Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
customData: (id __nullable)  customData 

Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
activeTrackIDs: (NSArray< NSNumber * > *__nullable)  activeTrackIDs 

Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
activeTrackIDsAn array of integers specifying the active tracks. May be nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
activeTrackIDs: (NSArray< NSNumber * > *__nullable)  activeTrackIDs
customData: (id __nullable)  customData 

Yeni bir medya öğesini yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
mediaInfoAn object describing the media item to load.
autoplayWhether playback should start immediately.
playPositionThe initial playback position.
activeTrackIDsAn array of integers specifying the active tracks. May be nil.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) setActiveTrackIDs: (NSArray< NSNumber * > *__nullable)  activeTrackIDs

Etkin parçaları ayarlar.

Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
activeTrackIDsAn array of integers specifying the active tracks. May be empty or nil to disable any currently active tracks.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) setTextTrackStyle: (GCKMediaTextTrackStyle *__nullable)  textTrackStyle

Metin parçası stilini ayarlar.

Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
textTrackStyleThe text track style. The style will not be changed if this is nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) pause

Geçerli medya öğesinin oynatılmasını duraklatır.

Mevcut bir medya durumu yoksa istek başarısız olur.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) pauseWithCustomData: (id __nullable)  customData

Geçerli medya öğesinin oynatılmasını duraklatır.

Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) stop

Mevcut medya öğesinin oynatılmasını durdurur.

Şu anda yüklenmiş bir sıra varsa kaldırılır. Mevcut bir medya durumu yoksa istek başarısız olur.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) stopWithCustomData: (id __nullable)  customData

Mevcut medya öğesinin oynatılmasını durdurur.

Şu anda yüklenmiş bir sıra varsa kaldırılır. Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) play

Mevcut medya öğesinin oynatılmasını başlatır (veya devam ettirir).

Oynatma her zaman akışın başından başlar. Mevcut bir medya durumu yoksa istek başarısız olur.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) playWithCustomData: (id __nullable)  customData

Mevcut medya öğesinin oynatılmasını başlatır (veya devam ettirir).

Oynatma her zaman akışın başından başlar. Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position

Geçerli medya öğesinde yeni bir konuma gitmek için kullanılır.

Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
positionThe new position from the beginning of the stream.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position
resumeState: (GCKMediaResumeState resumeState 

Geçerli medya öğesinde yeni bir konuma gitmek için kullanılır.

Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
positionThe new position interval from the beginning of the stream.
resumeStateThe action to take after the seek operation has finished.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position
resumeState: (GCKMediaResumeState resumeState
customData: (id __nullable)  customData 

Geçerli medya öğesinde yeni bir konuma gitmek için kullanılır.

Mevcut bir medya durumu yoksa istek başarısız olur.

Parameters
positionThe new position from the beginning of the stream.
resumeStateThe action to take after the seek operation has finished.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
repeatMode: (GCKMediaRepeatMode repeatMode 

Yeni bir medya öğeleri sırasını yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
startIndexThe index of the item in the items array that should be played first.
repeatModeThe repeat mode for playing the queue.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
repeatMode: (GCKMediaRepeatMode repeatMode
customData: (id __nullable)  customData 

Yeni bir medya öğeleri sırasını yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
startIndexThe index of the item in the items array that should be played first.
repeatModeThe repeat mode for playing the queue.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
playPosition: (NSTimeInterval)  playPosition
repeatMode: (GCKMediaRepeatMode repeatMode
customData: (id __nullable)  customData 

Yeni bir medya öğeleri sırasını yükler ve isteğe bağlı olarak oynatmaya başlar.

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
startIndexThe index of the item in the items array that should be played first.
playPositionThe 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.
repeatModeThe repeat mode for playing the queue.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueInsertItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
beforeItemWithID: (NSUInteger)  beforeItemID 

Kuyruğa yeni medya öğelerinin listesini ekler.

Parameters
queueItemsAn array of GCKMediaQueueItem instances to insert. Must not be nil or empty.
beforeItemIDThe 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.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueInsertItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
beforeItemWithID: (NSUInteger)  beforeItemID
customData: (id __nullable)  customData 

Kuyruğa yeni medya öğelerinin listesini ekler.

Parameters
queueItemsAn array of GCKMediaQueueItem instances to insert. Must not be nil or empty.
beforeItemIDID 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.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueInsertItem: (GCKMediaQueueItem *)  item
beforeItemWithID: (NSUInteger)  beforeItemID 

Sıraya tek bir öğe ekleyen kolaylık yöntemi.

Parameters
itemThe item to insert.
beforeItemIDThe 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.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueInsertAndPlayItem: (GCKMediaQueueItem *)  item
beforeItemWithID: (NSUInteger)  beforeItemID 

Tek bir öğeyi sıraya ekleyip geçerli öğe yapan kolaylık yöntemi.

Parameters
itemThe item to insert.
beforeItemIDThe 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.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueInsertAndPlayItem: (GCKMediaQueueItem *)  item
beforeItemWithID: (NSUInteger)  beforeItemID
playPosition: (NSTimeInterval)  playPosition
customData: (id __nullable)  customData 

Tek bir öğeyi sıraya ekleyip geçerli öğe yapan kolaylık yöntemi.

Parameters
itemThe item to insert.
beforeItemIDThe 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.
playPositionThe 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.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueUpdateItems: (NSArray< GCKMediaQueueItem * > *)  queueItems

Sırayı günceller.

Parameters
queueItemsThe list of updated items.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueUpdateItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
customData: (id __nullable)  customData 

Sırayı günceller.

Parameters
queueItemsThe list of updated items.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueRemoveItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs

Sıradan bir medya öğeleri listesini kaldırır.

Bu durumda kuyruk boşalırsa mevcut medya oturumu sonlandırılır.

Parameters
itemIDsAn array of media item IDs identifying the items to remove. Must not be nil or empty.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueRemoveItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs
customData: (id __nullable)  customData 

Sıradan bir medya öğeleri listesini kaldırır.

Bu durumda kuyruk boşalırsa mevcut medya oturumu sonlandırılır.

Parameters
itemIDsAn array of media item IDs identifying the items to remove. Must not be nil or empty.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueRemoveItemWithID: (NSUInteger)  itemID

Sıradan tek bir öğeyi kaldıran kolaylık yöntemi.

Parameters
itemIDThe ID of the item to remove.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueReorderItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
insertBeforeItemWithID: (NSUInteger)  beforeItemID 

Kuyruktaki medya öğeleri listesini yeniden sıralar.

Parameters
queueItemIDsAn array of media item IDs identifying the items to reorder. Must not be nil or empty.
beforeItemIDID 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.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueReorderItemsWithIDs: (NSArray< NSNumber * > *)  queueItemIDs
insertBeforeItemWithID: (NSUInteger)  beforeItemID
customData: (id __nullable)  customData 

Kuyruktaki medya öğeleri listesini yeniden sıralama

Parameters
queueItemIDsAn array of media item IDs identifying the items to reorder. Must not be nil or empty.
beforeItemIDThe 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.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueMoveItemWithID: (NSUInteger)  itemID
beforeItemWithID: (NSUInteger)  beforeItemID 

Sıradaki tek bir öğeyi taşıyan kolaylık yöntemi.

Parameters
itemIDThe ID of the item to move.
beforeItemIDThe 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.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueJumpToItemWithID: (NSUInteger)  itemID

Kuyrukta belirtilen kimliğe sahip öğeye atlar.

Parameters
itemIDThe ID of the item to jump to.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueJumpToItemWithID: (NSUInteger)  itemID
customData: (id __nullable)  customData 

Kuyrukta belirtilen kimliğe sahip öğeye atlar.

Parameters
itemIDThe ID of the item to jump to.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueJumpToItemWithID: (NSUInteger)  itemID
playPosition: (NSTimeInterval)  playPosition
customData: (id __nullable)  customData 

Kuyrukta belirtilen kimliğe sahip öğeye atlar.

Parameters
itemIDThe ID of the item to jump to.
playPositionThe 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.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueNextItem

Sıradaki bir sonraki öğeye gider.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queuePreviousItem

Kuyruktaki önceki öğeye gider.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) queueSetRepeatMode: (GCKMediaRepeatMode repeatMode

Sıra tekrarlama modunu ayarlar.

Parameters
repeatModeThe new repeat mode.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) setStreamVolume: (float)  volume

Akış sesini ayarlar.

Mevcut bir medya oturumu yoksa istek başarısız olur.

Parameters
volumeThe new volume, in the range [0.0 - 1.0].
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) setStreamVolume: (float)  volume
customData: (id __nullable)  customData 

Akış sesini ayarlar.

Mevcut bir medya oturumu yoksa istek başarısız olur.

Parameters
volumeThe new volume, in the range [0.0 - 1.0].
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) setStreamMuted: (BOOL)  muted

Akışın sesi kapatılıp kapatılmayacağını ayarlar.

Mevcut bir medya oturumu yoksa istek başarısız olur.

Parameters
mutedWhether the stream should be muted or unmuted.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) setStreamMuted: (BOOL)  muted
customData: (id __nullable)  customData 

Akışın sesi kapatılıp kapatılmayacağını ayarlar.

Mevcut bir medya oturumu yoksa istek başarısız olur.

Parameters
mutedWhether the stream should be muted or unmuted.
customDataCustom application-specific data to pass along with the request. Must either be an object that can be serialized to JSON using NSJSONSerialization, or nil.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) requestStatus

Alıcıdan güncellenmiş medya durumu bilgilerini ister.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (NSTimeInterval) approximateStreamPosition

Son alınan yayın bilgileri ve bu güncellemeden bu yana geçen süreye göre hesaplanan yaklaşık yayın konumunu döndürür.

Kanal bağlı değilse veya şu anda medya yüklenmemişse 0 değerini döndürür.

- (void) notifyDidStartMediaSession

Bir medya oturumu her başladığında, yani yeni medya uzaktaki oynatıcıya başarıyla yüklendikten hemen sonra alt sınıflar tarafından çağrılır.

GCKRemoteMediaClient(Protected) kategorisi tarafından sağlanır.

- (void) notifyDidUpdateMediaStatus

İstemcinin mediaStatus nesnesi her değiştiğinde alt sınıflar tarafından çağrılır.

GCKRemoteMediaClient(Protected) kategorisi tarafından sağlanır.

- (void) notifyDidUpdateQueue

İstemci tarafından yönetilen medya sırası her değiştiğinde alt sınıflar tarafından çağrılır.

GCKRemoteMediaClient(Protected) kategorisi tarafından sağlanır.

- (void) notifyDidUpdatePreloadStatus

İstemcinin GCKMediaStatus::preloadedItemID medya durumu her değiştiğinde alt sınıflar tarafından çağrılır.

GCKRemoteMediaClient(Protected) kategorisi tarafından sağlanır.

- (void) notifyDidUpdateMetadata

Meta veriler her değiştiğinde alt sınıflar tarafından çağrılmalıdır.

GCKRemoteMediaClient(Protected) kategorisi tarafından sağlanır.

Tesis Ayrıntıları

- (BOOL) connected
readnonatomicassign

Bu nesnenin bir oturuma bağlı olup olmadığını gösteren işaret.

- (GCKMediaStatus*) mediaStatus
readnonatomicstrong

Medya kontrol kanalı tarafından bildirilen mevcut medya durumu.

- (NSTimeInterval) timeSinceLastMediaStatusUpdate
readnonatomicassign

Son medya durumu güncellemesinin alınmasından bu yana geçen süre.

Şu anda devam eden bir durum isteği varsa bu değer 0 olur.

- (id<GCKRemoteMediaClientAdInfoParserDelegate>) adInfoParserDelegate
readwritenonatomicweak

GCKMediaStatus nesnesindeki özel verilerden reklam arası bilgilerini ayıklayabilen bir temsilci.

Deprecated:
Bunun yerine GCKAdBreakStatus kullanın.