Kelas GCKUIExpandedMediaControlsViewController

Referensi Class GCKUIExpandedMediaControlsViewController

Ringkasan

Pengontrol tampilan yang menerapkan tampilan layar penuh kontrol yang diperluas.

Since
3,1

Mewarisi UIViewController. Mengimplementasikan <GCKUIMediaButtonBarProtocol>.

Ringkasan Metode Instance

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

Detail Metode

- (NSUInteger) buttonCount

Jumlah maksimum tombol 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 di posisi tertentu.

Parameters
indexThe button's position, where 0 is the left-most position.
Hasil
Jenis tombol di posisi yang dipilih.
- (void) setCustomButton: (UIButton *__nullable)  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.
- (UIButton *__nullable) customButtonAtIndex: (NSUInteger)  index

Menampilkan referensi ke tombol kustom pada posisi tertentu.

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 kustom pada posisi tersebut, atau posisi tidak valid.