GCKUIExpandedMediaControlsViewController Sınıfı

GCKUIExpandedMediaControlsViewController Sınıf Referansı

Genel bakış

Genişletilmiş kontroller için tam ekran görünümünü uygulayan bir görünüm denetleyicisi.

Since
3.1

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

BOOL hideStreamPositionControlsForLiveContent
 Canlı konum için yayın konumu denetimlerinin (yayın konumu kaydırma çubuğu, akış konumu etiketi, akış süresi etiketi ve akış ilerleme durumu görünümü dahil) gizlenip gizlenmeyeceği. 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: (nullable UIButton *)  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.
- (nullable UIButton *) 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ı

- (BOOL) hideStreamPositionControlsForLiveContent
readwritenonatomicassign

Canlı konum için yayın konumu denetimlerinin (yayın konumu kaydırma çubuğu, akış konumu etiketi, akış süresi etiketi ve akış ilerleme durumu görünümü dahil) gizlenip gizlenmeyeceği.

Varsayılan değer: NO

Since
4,0