GCKUIMiniMediaControlsViewController Sınıfı

GCKUIMiniMediaControlsViewController Sınıf Referansı

Genel bakış

"Şimdi oynatılıyor" denetim çubuğunu uygulayan bir görünüm denetleyicisi.

Varsayılan yapılandırmasında, geçerli medya öğesinin küçük resmi, başlığı ve alt başlığı, akış ilerleme çubuğu ve oynat/duraklat düğmesi görünür.

Yetki verilen protokol için GCKUIMiniMediaControlsViewControllerDelegate adresine bakın.

Since
3.0

UIViewController'ı devralır. <GCKUIMediaButtonBarProtocol> uygulanır.

Örnek Yöntemi Özeti

(NSUInteger) - buttonCount
 Alıcı tarafından özelleştirilebilecek maksimum düğme sayısı. Diğer...
 
(void) - setButtonType:atIndex:
 Düğmenin index konumundaki düğme türünü ayarlar. Diğer...
 
(GCKUIMediaButtonType- buttonTypeAtIndex:
 Belirli bir konumdaki mevcut düğme türünü döndürür. Diğer...
 
(void) - setCustomButton:atIndex:
 Belirli bir düğme konumunda sunulması gereken UIButton örneğini ayarlar. Diğer...
 
(UIButton *__nullable) - customButtonAtIndex:
 Belirli bir konumdaki özel düğmeye ilişkin referans döndürür. Diğer...
 

Mülk Özeti

id< GCKUIMiniMediaControlsViewControllerDelegatedelegate
 Görüntüleme denetleyicisinin delajı. Genellikle uygun olduğunda bu denetim çubuğunu göstermek ve gizlemekten sorumlu tam ekran görünüm denetleyicisidir. Diğer...
 
BOOL thumbnailEnabled
 Küçük resmin görüntülenip görüntülenmeyeceği. Diğer...
 
BOOL active
 Kontrol çubuğunun görüntülenme durumunu belirtir. Diğer...
 
CGFloat minHeight
 Bu görünümün sunulması gereken minimum (ve tercih edilen) yükseklik. Diğer...
 

Yöntem Ayrıntıları

- (NSUInteger) buttonCount

Alıcı tarafından özelleştirilebilecek maksimum düğme sayısı.

İadeler
Düğme sayısı.
- (void) setButtonType: (GCKUIMediaButtonType buttonType
atIndex: (NSUInteger)  index 

Düğmenin index konumundaki düğme türünü ayarlar.

Parameters
buttonTypeThe type of the button. If the type is GCKUIMediaButtonTypeCustom, a UIButton instance should be passed for the same index using setCustomButton:atIndex:. Otherwise a default button is created and presented in that position.
indexThe position in which the button should be presented. 0 is the left-most position. Indices should be smaller than the value returned by buttonCount.
- (GCKUIMediaButtonType) buttonTypeAtIndex: (NSUInteger)  index

Belirli bir konumdaki mevcut düğme türünü döndürür.

Parameters
indexThe button's position, where 0 is the left-most position.
İadeler
Seçilen konumdaki düğme türü.
- (void) setCustomButton: (UIButton *__nullable)  customButton
atIndex: (NSUInteger)  index 

Belirli bir düğme konumunda sunulması gereken UIButton örneğini ayarlar.

Parameters
customButtonThe button instance to be presented in the control bar.
indexThe position in which the button should be presented. 0 is the left-most position. Indices should be smaller than the value returned by buttonCount.
- (UIButton *__nullable) customButtonAtIndex: (NSUInteger)  index

Belirli bir konumdaki özel düğmeye ilişkin referans döndürür.

Parameters
indexThe button's position, where 0 is the right-most position.
İadeler
Seçili konumdaki düğmeye başvuruda bulunma veya o konumda özel bir düğme yoksa ya da konum geçersizse nil.

Mülk Ayrıntıları

- (id<GCKUIMiniMediaControlsViewControllerDelegate>) delegate
readwritenonatomicweak

Görüntüleme denetleyicisinin delajı. Genellikle uygun olduğunda bu denetim çubuğunu göstermek ve gizlemekten sorumlu tam ekran görünüm denetleyicisidir.

- (BOOL) thumbnailEnabled
readwritenonatomicassign

Küçük resmin görüntülenip görüntülenmeyeceği.

Bu özellik varsayılan olarak YES değerine ayarlıdır.

- (BOOL) active
readnonatomicassign

Kontrol çubuğunun görüntülenme durumunu belirtir.

YES konumundayken yayınlanan ve kontrol çubuğuyla kontrol edilebilen medya yayınları mevcut hale gelir. NO olduğunda kontrol çubuğu gizlenir.

- (CGFloat) minHeight
readnonatomicassign

Bu görünümün sunulması gereken minimum (ve tercih edilen) yükseklik.