GCKRemoteMediaClient Sınıfı

GCKRemoteMediaClient Sınıf Referansı

Genel bakış

Yayın alıcısında medya oynatmayı kontrol etmek için kullanılan bir sınıf.

Bu nesnenin bir örneği GCKSession::remoteMediaClient özelliği olarak kullanılabilir.

Since
3.0

NSObject'i devralır.

Örnek Yöntemi Özeti

(void) - addListener:
 Bu nesnenin dinleyici listesine bir dinleyici ekler. Diğer...
 
(void) - removeListener:
 Bir işleyiciyi bu nesnenin dinleyici listesinden kaldırır. Diğer...
 
(GCKRequest *) - loadMediaWithLoadRequestData:
 Bir medya öğesi veya istek verileriyle birlikte bir medya öğeleri sırası yükler ve oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:
 Varsayılan seçenekleri kullanarak yeni bir medya öğesinin yüklenmesini ve oynatılmasını başlatır. Diğer...
 
(GCKRequest *) - loadMedia:withOptions:
 Belirtilen seçeneklerle yeni bir medya öğesini yükler ve oynatmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:customData:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:activeTrackIDs:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar. Diğer...
 
(GCKRequest *) - loadMedia:autoplay:playPosition:activeTrackIDs:customData:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar. Diğer...
 
(GCKRequest *) - setPlaybackRate:
 Geçerli medya oturumunun oynatma hızını ayarlar. Diğer...
 
(GCKRequest *) - setPlaybackRate:customData:
 Geçerli medya oturumunun oynatma hızını ayarlar. Diğer...
 
(GCKRequest *) - setActiveTrackIDs:
 Etkin kanalları 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
 Geçerli medya öğesinin oynatılmasını durdurur. Diğer...
 
(GCKRequest *) - stopWithCustomData:
 Geçerli 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 *) - skipAd
 Oynatılan reklamı atlama isteği gönderir. Diğer...
 
(GCKRequest *) - seekWithOptions:
 Geçerli medya öğesinde yeni bir konuma yerleşir. Diğer...
 
(GCKRequest *) - seekToTimeInterval:
 Geçerli medya öğesinde yeni bir konuma yerleşir. Diğer...
 
(GCKRequest *) - seekToTimeInterval:resumeState:
 Geçerli medya öğesinde yeni bir konuma yerleşir. Diğer...
 
(GCKRequest *) - seekToTimeInterval:resumeState:customData:
 Geçerli medya öğesinde yeni bir konuma yerleşir. Diğer...
 
(GCKRequest *) - queueFetchItemIDs
 Sıraya alınan öğe kimliklerinin listesini ister. Diğer...
 
(GCKRequest *) - queueFetchItemsForIDs:
 Belirtilen öğe kimliklerine sahip sıra öğeleri hakkında eksiksiz bilgi ister. Diğer...
 
(GCKRequest *) - queueLoadItems:startIndex:repeatMode:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueLoadItems:startIndex:repeatMode:customData:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueLoadItems:startIndex:playPosition:repeatMode:customData:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueLoadItems:withOptions:
 Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası oynatmaya başlar. Diğer...
 
(GCKRequest *) - queueInsertItems:beforeItemWithID:
 Sıraya yeni medya öğelerinin listesini ekler. Diğer...
 
(GCKRequest *) - queueInsertItems:beforeItemWithID:customData:
 Sıraya 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:
 Sıraya tek bir öğe yerleştirip geçerli öğe haline getiren kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueInsertAndPlayItem:beforeItemWithID:playPosition:customData:
 Sıraya tek bir öğe yerleştirip geçerli öğe haline getiren 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 medya öğeleri listesi kaldırılır. Diğer...
 
(GCKRequest *) - queueRemoveItemsWithIDs:customData:
 Sıradan medya öğeleri listesi kaldırılır. Diğer...
 
(GCKRequest *) - queueRemoveItemWithID:
 Sıradan tek bir öğeyi kaldıran kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueReorderItemsWithIDs:insertBeforeItemWithID:
 Sıradaki medya öğelerinin listesini yeniden sıralar. Diğer...
 
(GCKRequest *) - queueReorderItemsWithIDs:insertBeforeItemWithID:customData:
 Sıradaki medya öğelerinin listesini yeniden sıralayın. Diğer...
 
(GCKRequest *) - queueMoveItemWithID:beforeItemWithID:
 Sıradaki tek bir öğeyi taşıyan kolaylık yöntemi. Diğer...
 
(GCKRequest *) - queueJumpToItemWithID:
 Sırada belirtilen kimliğe sahip öğeye atlar. Diğer...
 
(GCKRequest *) - queueJumpToItemWithID:customData:
 Sırada belirtilen kimliğe sahip öğeye atlar. Diğer...
 
(GCKRequest *) - queueJumpToItemWithID:playPosition:customData:
 Sırada belirtilen kimliğe sahip öğeye atlar. Diğer...
 
(GCKRequest *) - queueNextItem
 Sıradaki bir sonraki öğeye taşınır. Diğer...
 
(GCKRequest *) - queuePreviousItem
 Sıradaki bir öğeye taşınır. Diğer...
 
(GCKRequest *) - queueSetRepeatMode:
 Sıra tekrarlama modunu ayarlar. Diğer...
 
(GCKRequest *) - setStreamVolume:
 Akış ses düzeyini ayarlar. Diğer...
 
(GCKRequest *) - setStreamVolume:customData:
 Akış ses düzeyini ayarlar. Diğer...
 
(GCKRequest *) - setStreamMuted:
 Yayının sesinin kapalı olup olmadığını belirler. Diğer...
 
(GCKRequest *) - setStreamMuted:customData:
 Yayının sesinin kapalı olup olmadığını belirler. Diğer...
 
(GCKRequest *) - requestStatus
 Alıcıdan medya durumu bilgilerini güncellemesini ister. Diğer...
 
(NSTimeInterval) - approximateStreamPosition
 En son alınan yayın bilgilerinden hesaplanan yaklaşık akış konumunu ve bu güncellemeden itibaren geçen geçen süreyi döndürür. Diğer...
 
(NSTimeInterval) - approximateLiveSeekableRangeStart
 Alınan son akış bilgisine göre hesaplanan aranabilir aralığın yaklaşık başlangıç konumunu ve bu güncellemeden itibaren geçen geçen süreyi döndürür. Diğer...
 
(NSTimeInterval) - approximateLiveSeekableRangeEnd
 Alınabilir son aralığın hesaplandığı son konum bilgisini ve bu güncellemeden itibaren geçen geçen süreyi hesaba katarak yaklaşık bitiş konumunu döndürür. Diğer...
 
(void) - notifyDidStartMediaSession
 Bir medya oturumu başladığında, yani uzak medya oynatıcıya yeni bir medya başarıyla yüklendikten hemen sonra alt sınıflar tarafından çağrılacaktır. Diğer...
 
(void) - notifyDidUpdateMediaStatus
 İstemcinin mediaStatus nesnesi her değiştiğinde alt sınıflar tarafından çağrılacak. Diğer...
 
(void) - notifyDidUpdateQueue
 Müşteri tarafından yönetilen medya sırası her değiştiğinde alt sınıflar tarafından çağrılacaktır. Diğer...
 
(void) - notifyDidUpdatePreloadStatus
 İstemcideki GCKMediaStatus GCKMediaStatus::preloadedItemID her değiştiğinde alt sınıflar tarafından çağrılacak. Diğer...
 
(void) - notifyDidUpdateMetadata
 Meta veriler değiştiğinde alt sınıflar tarafından çağrılacak. Diğer...
 
(void) - notifyDidReceiveQueueItemIDs:
 Medya sırası öğe kimlikleri listesi alındığında alt sınıflar tarafından çağrılacaktır. Diğer...
 
(void) - notifyDidInsertQueueItemsWithIDs:beforeItemWithID:
 Sıraya bitişik bir dizi öğe eklendiğinde alt sınıflar tarafından çağrılacaktır. Diğer...
 
(void) - notifyDidUpdateQueueItemsWithIDs:
 Sıradaki mevcut sıra öğeleri güncellendiğinde alt sınıflar tarafından çağrılacaktır. Diğer...
 
(void) - notifyDidRemoveQueueItemsWithIDs:
 Sıradan bitişik bir dizi öğe kaldırıldığında alt sınıflar tarafından çağrılacaktır. Diğer...
 
(void) - notifyDidReceiveQueueItems:
 Sıra öğeleri alındığında bir alt sınıf tarafından çağrılacak. Diğer...
 

Mülk Ö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...
 
GCKMediaQueuemediaQueue
 Medya sırası. Diğer...
 
NSTimeInterval timeSinceLastMediaStatusUpdate
 Son medya durumu güncellemesinin alınmasından bu yana geçen süre. Diğer...
 
BOOL playingLiveStream
 Bu müşterinin canlı yayın oynatıp oynatmadığını gösteren işaret. Diğer...
 
id
< GCKRemoteMediaClientAdInfoParserDelegate
adInfoParserDelegate
 Bir GCKMediaStatus nesnesindeki özel verilerden reklam arası bilgilerini ayıklayabilen yetki verilmiş kullanıcı. Diğer...
 

Yöntem Ayrıntıları

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

Bu nesnenin dinleyici listesine bir dinleyici ekler.

Eklenen dinleyici düşük tutulmuş ve beklenmedik anlaşma konumu ile karşılaşmamak için saklanmalıdır.

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

Bir işleyiciyi bu nesnenin dinleyici listesinden kaldırır.

Parameters
listenerThe listener to remove.
- (GCKRequest *) loadMediaWithLoadRequestData: (GCKMediaLoadRequestData *)  requestData

Bir medya öğesi veya istek verileriyle birlikte bir medya öğeleri sırası yükler ve oynatmaya başlar.

Parameters
requestDataDescribes the media load request.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4.4.1
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo

Varsayılan seçenekleri kullanarak yeni bir medya öğesinin yüklenmesini ve oynatılmasını başlatır.

Bunun yerine loadMediaWithLoadRequestData: öğesinin kullanılması önerilir. Bu, tek bir öğenin veya ek seçeneklere sahip bir sıranın yüklenmesini destekleyen gelişmiş bir yükleme komutudur.

Parameters
mediaInfoDescribes the media item to load.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
withOptions: (GCKMediaLoadOptions *)  options 

Belirtilen seçeneklerle yeni bir medya öğesini yükler ve oynatmaya başlar.

Bunun yerine loadMediaWithLoadRequestData: öğesinin kullanılması önerilir. Bu, tek bir öğenin veya ek seçeneklere sahip bir sıranın yüklenmesini destekleyen gelişmiş bir yükleme komutudur.

Parameters
mediaInfoDescribes the media item to load.
optionsThe load options for this request.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4,0
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar.

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

Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar.

Parameters
mediaInfoDescribes 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
customData: (nullable id)  customData 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar.

Parameters
mediaInfoDescribes 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
activeTrackIDs: (nullable NSArray< NSNumber * > *)  activeTrackIDs 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar.

Parameters
mediaInfoDescribes 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) loadMedia: (GCKMediaInformation *)  mediaInfo
autoplay: (BOOL)  autoplay
playPosition: (NSTimeInterval)  playPosition
activeTrackIDs: (nullable NSArray< NSNumber * > *)  activeTrackIDs
customData: (nullable id)  customData 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğesi oynatılmaya başlar.

Parameters
mediaInfoDescribes 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) setPlaybackRate: (float)  playbackRate

Geçerli medya oturumunun oynatma hızını ayarlar.

Parameters
playbackRateThe new playback rate.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4,0
- (GCKRequest *) setPlaybackRate: (float)  playbackRate
customData: (nullable id)  customData 

Geçerli medya oturumunun oynatma hızını ayarlar.

Parameters
playbackRateThe new playback rate, which must be between GCKMediaLoadOptions::kGCKMediaMinPlaybackRate and GCKMediaLoadOptions::kGCKMediaMaxPlaybackRate.
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.
Since
4,0
- (GCKRequest *) setActiveTrackIDs: (nullable NSArray< NSNumber * > *)  activeTrackIDs

Etkin kanalları ayarlar.

Mevcut 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: (nullable GCKMediaTextTrackStyle *)  textTrackStyle

Metin parçası stilini ayarlar.

Mevcut 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 medya durumu yoksa istek başarısız olur.

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

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

Mevcut 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

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

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

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

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

Şu anda yüklü olan bir sıra kaldırılır. Mevcut 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şında başlar. Mevcut medya durumu yoksa istek başarısız olur.

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

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

Oynatma her zaman akışın başında başlar. Mevcut 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 *) skipAd

Oynatılan reklamı atlama isteği gönderir.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4.3
- (GCKRequest *) seekWithOptions: (GCKMediaSeekOptions *)  options

Geçerli medya öğesinde yeni bir konuma yerleşir.

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

Parameters
optionsThe seek options for the request.
İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4,0
- (GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position

Geçerli medya öğesinde yeni bir konuma yerleşir.

Mevcut 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.
Deprecated:
googWithOptions'ı kullanın:.
- (GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position
resumeState: (GCKMediaResumeState resumeState 

Geçerli medya öğesinde yeni bir konuma yerleşir.

Mevcut 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.
Deprecated:
googWithOptions'ı kullanın:.
- (GCKRequest *) seekToTimeInterval: (NSTimeInterval)  position
resumeState: (GCKMediaResumeState resumeState
customData: (nullable id)  customData 

Geçerli medya öğesinde yeni bir konuma yerleşir.

Mevcut 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.
Deprecated:
googWithOptions'ı kullanın:.
- (GCKRequest *) queueFetchItemIDs

Sıraya alınan öğe kimliklerinin listesini ister.

Sonuçlar, yetki verilmiş geri çağırma GCKRemoteMediaClientAuth::remoteMediaClient:didFetchQueueItemIDs'ye iletilir.

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4.1
- (GCKRequest *) queueFetchItemsForIDs: (NSArray< NSNumber * > *)  queueItemIDs

Belirtilen öğe kimliklerine sahip sıra öğeleri hakkında eksiksiz bilgi ister.

Sonuçlar, yetki verilmiş geri çağırma GCKRemoteMediaClientAuth::remoteMediaClient:didGetQueueItems:

İadeler
Bu isteği izlemek için kullanılan GCKRequest nesnesi.
Since
4.1
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
repeatMode: (GCKMediaRepeatMode repeatMode 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
repeatMode: (GCKMediaRepeatMode repeatMode
customData: (nullable id)  customData 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
startIndex: (NSUInteger)  startIndex
playPosition: (NSTimeInterval)  playPosition
repeatMode: (GCKMediaRepeatMode repeatMode
customData: (nullable id)  customData 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası 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.
Deprecated:
LoadMediaWithLoadRequestData kullanın:.
- (GCKRequest *) queueLoadItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
withOptions: (GCKMediaQueueLoadOptions *)  options 

Yüklenir ve isteğe bağlı olarak yeni bir medya öğeleri sırası oynatmaya başlar.

Bunun yerine loadMediaWithLoadRequestData: öğesinin kullanılması önerilir. Bu, tek bir öğenin veya ek seçeneklere sahip bir sıranın yüklenmesini destekleyen gelişmiş bir yükleme komutudur.

Parameters
queueItemsAn array of GCKMediaQueueItem instances to load. Must not be nil or empty.
optionsThe load options used to load the queue items, as defined by GCKMediaQueueLoadOptions
Since
4.3.1
- (GCKRequest *) queueInsertItems: (NSArray< GCKMediaQueueItem * > *)  queueItems
beforeItemWithID: (NSUInteger)  beforeItemID 

Sıraya 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: (nullable id)  customData 

Sıraya 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 

Sıraya tek bir öğe yerleştirip geçerli öğe haline getiren 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: (nullable id)  customData 

Sıraya tek bir öğe yerleştirip geçerli öğe haline getiren 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: (nullable id)  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 medya öğeleri listesi kaldırılır.

Sıra boş hale gelirse 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: (nullable id)  customData 

Sıradan medya öğeleri listesi kaldırılır.

Sıra boş hale gelirse 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 

Sıradaki medya öğelerinin 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: (nullable id)  customData 

Sıradaki medya öğelerinin listesini yeniden sıralayın.

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

Sırada 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: (nullable id)  customData 

Sırada 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: (nullable id)  customData 

Sırada 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 taşınır.

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

Sıradaki bir öğeye taşınır.

İ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ış ses düzeyini 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: (nullable id)  customData 

Akış ses düzeyini 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

Yayının sesinin kapalı olup olmadığını belirler.

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: (nullable id)  customData 

Yayının sesinin kapalı olup olmadığını belirler.

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 medya durumu bilgilerini güncellemesini ister.

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

En son alınan yayın bilgilerinden hesaplanan yaklaşık akış konumunu ve bu güncellemeden itibaren geçen geçen süreyi döndürür.

Kanal bağlı değilse veya henüz yüklenmiş medya yoksa 0 değerini döndürür.

- (NSTimeInterval) approximateLiveSeekableRangeStart

Alınan son akış bilgisine göre hesaplanan aranabilir aralığın yaklaşık başlangıç konumunu ve bu güncellemeden itibaren geçen geçen süreyi döndürür.

Kanal bağlı değilse veya henüz yüklenmiş medya yoksa 0 değerini döndürür. Akış canlı yayın değilse veya aranabilir bir aralık yoksa kGCKInvalidTimeInterval değerini döndürür.

Since
4.4.1
- (NSTimeInterval) approximateLiveSeekableRangeEnd

Alınabilir son aralığın hesaplandığı son konum bilgisini ve bu güncellemeden itibaren geçen geçen süreyi hesaba katarak yaklaşık bitiş konumunu döndürür.

Kanal bağlı değilse veya henüz yüklenmiş medya yoksa 0 değerini döndürür. Akış canlı yayın değilse veya aranabilir bir aralık yoksa kGCKInvalidTimeInterval değerini döndürür.

Since
4.4.1
- (void) notifyDidStartMediaSession

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

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidUpdateMediaStatus

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

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidUpdateQueue

Müşteri tarafından yönetilen medya sırası her değiştiğinde alt sınıflar tarafından çağrılacaktır.

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidUpdatePreloadStatus

İstemcideki GCKMediaStatus GCKMediaStatus::preloadedItemID her değiştiğinde alt sınıflar tarafından çağrılacak.

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidUpdateMetadata

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

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidReceiveQueueItemIDs: (NSArray< NSNumber * > *)  itemIDs

Medya sırası öğe kimlikleri listesi alındığında alt sınıflar tarafından çağrılacaktır.

Parameters
itemIDsThe list of queue item IDs.
Since
4.1

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidInsertQueueItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs
beforeItemWithID: (GCKMediaQueueItemID beforeItemID 

Sıraya bitişik bir dizi öğe eklendiğinde alt sınıflar tarafından çağrılacaktır.

Parameters
itemIDsThe list of queue item IDs identifying the items that were inserted.
beforeItemIDThe 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) kategorisine göre sağlanmıştır.

- (void) notifyDidUpdateQueueItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs

Sıradaki mevcut sıra öğeleri güncellendiğinde alt sınıflar tarafından çağrılacaktır.

Parameters
itemIDsThe list of queue item IDs identifying the items that were updated.
Since
4.1

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidRemoveQueueItemsWithIDs: (NSArray< NSNumber * > *)  itemIDs

Sıradan bitişik bir dizi öğe kaldırıldığında alt sınıflar tarafından çağrılacaktır.

Parameters
itemIDsThe list of queue item IDs identifying the items that were removed.
Since
4.1

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

- (void) notifyDidReceiveQueueItems: (NSArray< GCKMediaQueueItem * > *)  items

Sıra öğeleri alındığında bir alt sınıf tarafından çağrılacak.

Parameters
itemsThe list of queue items.
Since
4.1

GCKRemoteMediaClient(Protected) kategorisine göre sağlanmıştır.

Mülk 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.

- (GCKMediaQueue*) mediaQueue
readnonatomicstrong

Medya sırası.

Since
4.3.4
- (NSTimeInterval) timeSinceLastMediaStatusUpdate
readnonatomicassign

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

Medya durumu henüz alınmadıysa bu değer NAN olur.

- (BOOL) playingLiveStream
readnonatomicassign

Bu müşterinin canlı yayın oynatıp oynatmadığını gösteren işaret.

Since
4.4.1
- (id<GCKRemoteMediaClientAdInfoParserDelegate>) adInfoParserDelegate
readwritenonatomicweak

Bir GCKMediaStatus nesnesindeki özel verilerden reklam arası bilgilerini ayıklayabilen yetki verilmiş kullanıcı.

Deprecated:
Bunun yerine GCKAdBreakStatus kullanın.