Genel Bakış
"Ne çalıyor?" kontrol çubuğunu uygulayan bir görünüm denetleyicisi.
Varsayılan yapılandırmasında, mevcut medya öğesinin küçük resmi, başlığı ve alt başlığı, akış ilerleme çubuğu ve oynatma/duraklatma açma/kapatma düğmesi gösterilir.
Temsilci protokolü için GCKUIMiniMediaControlsViewControllerDelegate adresine bakın.
- yılından beri
- 3.0
UIViewController'ı devralır. <GCKUIMediaButtonBarProtocol> uyguluyor.
Örnek Yöntem Özeti | |
| (NSUInteger) | - buttonCount |
| Alıcı tarafından özelleştirilebilecek maksimum düğme sayısı. Diğer... | |
| (void) | - setButtonType:atIndex: |
index konumundaki düğme için düğme türünü ayarlar. Diğer... | |
| (GCKUIMediaButtonType) | - buttonTypeAtIndex: |
| Belirli bir konumdaki geçerli 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 referans döndürür. Diğer... | |
Tesis Özeti | |
| id< GCKUIMiniMediaControlsViewControllerDelegate > | delegate |
| Görünüm denetleyicisinin temsilcisi. Genellikle bu kontrol çubuğunu uygun olduğunda sunmaktan ve gizlemekten sorumlu tam ekran görünüm denetleyicisi. Diğer... | |
| BOOL | thumbnailEnabled |
| Küçük resmin gösterilip gösterilmeyeceği. Diğer... | |
| BOOL | active |
| Kontrol çubuğunun görüntüleme durumunu gösterir. 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 | |
index konumundaki düğme için 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 geçerli 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üğmenin türü.
| - (void) setCustomButton: | (UIButton *__nullable) | 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.
| - (UIButton *__nullable) customButtonAtIndex: | (NSUInteger) | index |
Belirli bir konumdaki özel düğmeye referans döndürür.
- Parameters
-
index The button's position, where 0 is the right-most position.
- İadeler
- Seçilen konumdaki düğmeye referans veya
nilbu konumda özel düğme yoksa ya da konum geçersizse.
Tesis Ayrıntıları
|
readwritenonatomicweak |
Görünüm denetleyicisinin temsilcisi. Genellikle bu kontrol çubuğunu uygun olduğunda sunmaktan ve gizlemekten sorumlu tam ekran görünüm denetleyicisi.
|
readwritenonatomicassign |
Küçük resmin gösterilip gösterilmeyeceği.
Bu özellik varsayılan olarak YES şeklinde ayarlanır.
|
readnonatomicassign |
Kontrol çubuğunun görüntüleme durumunu gösterir.
YES simgesi gösterildiğinde, kontrol çubuğuyla kontrol edilebilen ve görünür hale getirilebilen bir medya içeriği yayınlanıyor demektir. NO olduğunda kontrol çubuğu gizlenmelidir.
|
readnonatomicassign |
Bu görünümün sunulması gereken minimum (ve tercih edilen) yükseklik.