Class GCKUIExpandedMediaControlsViewController

Referensi Class GCKUIExpandedMediaControlsViewController

Ringkasan

Pengontrol tampilan yang mengimplementasikan tampilan layar penuh kontrol yang diperluas.

Sejak
3,1

Mewarisi UIViewController. Mengimplementasikan <GCKUIMediaButtonBarProtocol>.

Ringkasan Metode Instance

(NSUInteger) - buttonCount
 Jumlah tombol maksimum yang dapat disesuaikan oleh penerima. Lainnya...
 
(void) - setButtonType:atIndex:
 Menetapkan jenis tombol untuk tombol di posisi index. Lainnya...
 
(GCKUIMediaButtonType- buttonTypeAtIndex:
 Menampilkan jenis tombol saat ini pada posisi yang ditentukan. Lainnya...
 
(void) - setCustomButton:atIndex:
 Menetapkan instance UIButton yang harus ditampilkan pada posisi tombol tertentu. Lainnya...
 
(nullable UIButton *) - customButtonAtIndex:
 Menampilkan referensi ke tombol khusus pada posisi yang telah ditentukan. Lainnya...
 

Ringkasan Properti

BOOL hideStreamPositionControlsForLiveContent
 Apakah kontrol posisi streaming (termasuk penggeser posisi streaming, label posisi streaming, label durasi streaming, dan tampilan progres streaming) harus disembunyikan dari konten live. Lainnya...
 

Detail Metode

- (NSUInteger) buttonCount

Jumlah tombol maksimum yang dapat disesuaikan oleh penerima.

Hasil
Jumlah tombol.
- (void) setButtonType: (GCKUIMediaButtonType buttonType
atIndex: (NSUInteger)  index 

Menetapkan jenis tombol untuk tombol di posisi index.

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

Menampilkan jenis tombol saat ini pada posisi yang ditentukan.

Parameters
indexThe button's position, where 0 is the left-most position.
Hasil
Jenis tombol di posisi yang dipilih.
- (void) setCustomButton: (nullable UIButton *)  customButton
atIndex: (NSUInteger)  index 

Menetapkan instance UIButton yang harus ditampilkan pada posisi tombol tertentu.

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

Menampilkan referensi ke tombol khusus pada posisi yang telah ditentukan.

Parameters
indexThe button's position, where 0 is the right-most position.
Hasil
Referensi ke tombol pada posisi yang dipilih, atau nil jika tidak ada tombol khusus di posisi tersebut, atau posisinya tidak valid.

Detail Properti

- (BOOL) hideStreamPositionControlsForLiveContent
readwritenonatomicassign

Apakah kontrol posisi streaming (termasuk penggeser posisi streaming, label posisi streaming, label durasi streaming, dan tampilan progres streaming) harus disembunyikan dari konten live.

Nilai default-nya adalah NO.

Sejak
4,0