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... | |
(nullable UIButton *) | - customButtonAtIndex: |
Belirli bir konumdaki özel düğmeye ilişkin referans döndürür. Diğer... | |
Mülk Özeti | |
id < GCKUIMiniMediaControlsViewControllerDelegate > | delegate |
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
-
buttonType The 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. index The 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
-
index The button's position, where 0 is the left-most position.
- İadeler
- Seçilen konumdaki düğme türü.
- (void) setCustomButton: | (nullable UIButton *) | customButton | |
atIndex: | (NSUInteger) | index | |
Belirli bir düğme konumunda sunulması gereken UIButton örneğini ayarlar.
- Parameters
-
customButton The button instance to be presented in the control bar. index The position in which the button should be presented. 0 is the left-most position. Indices should be smaller than the value returned by buttonCount.
- (nullable UIButton *) customButtonAtIndex: | (NSUInteger) | index |
Belirli bir konumdaki özel düğmeye ilişkin referans döndürür.
- Parameters
-
index The 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ı
|
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.
|
readwritenonatomicassign |
Küçük resmin görüntülenip görüntülenmeyeceği.
Bu özellik varsayılan olarak YES
değerine ayarlıdır.
|
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.
|
readnonatomicassign |
Bu görünümün sunulması gereken minimum (ve tercih edilen) yükseklik.