คลาส GCKUIExpandedMediaControlsViewController

ข้อมูลอ้างอิงคลาส GCKUIExpandedMediaControlsViewController

ภาพรวม

ตัวควบคุมมุมมองที่ใช้มุมมองเต็มหน้าจอควบคุม

Since
3.1

รับค่า UIViewController นํา <GCKUIMediaButtonBarProtocol> ไปใช้

สรุปเมธอดของอินสแตนซ์

(NSUInteger) - buttonCount
 จํานวนปุ่มสูงสุดที่ผู้รับสามารถปรับแต่งได้ เพิ่มเติม...
 
(void) - setButtonType:atIndex:
 ตั้งค่าประเภทปุ่มสําหรับปุ่มที่ตําแหน่ง index เพิ่มเติม...
 
(GCKUIMediaButtonType- buttonTypeAtIndex:
 แสดงผลประเภทปุ่มปัจจุบันในตําแหน่งที่กําหนด เพิ่มเติม...
 
(void) - setCustomButton:atIndex:
 ตั้งค่าอินสแตนซ์ของ UIButton ที่ควรแสดงที่ตําแหน่งปุ่มที่ระบุ เพิ่มเติม...
 
(nullable UIButton *) - customButtonAtIndex:
 แสดงการอ้างอิงไปยังปุ่มที่กําหนดเองในตําแหน่งที่ระบุ เพิ่มเติม...
 

สรุปพร็อพเพอร์ตี้

BOOL hideStreamPositionControlsForLiveContent
 เนื้อหาดังกล่าวควรซ่อนการควบคุมตําแหน่งของสตรีม (รวมถึงแถบเลื่อนตําแหน่งของสตรีม ป้ายกํากับตําแหน่งของสตรีม ป้ายกํากับระยะเวลาของสตรีม และมุมมองความคืบหน้าของสตรีม) สําหรับเนื้อหาสด เพิ่มเติม...
 

รายละเอียดเมธอด

- (NSUInteger) buttonCount

จํานวนปุ่มสูงสุดที่ผู้รับสามารถปรับแต่งได้

การคืนสินค้า
จํานวนปุ่ม
- (void) setButtonType: (GCKUIMediaButtonType buttonType
atIndex: (NSUInteger)  index 

ตั้งค่าประเภทปุ่มสําหรับปุ่มที่ตําแหน่ง 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

แสดงผลประเภทปุ่มปัจจุบันในตําแหน่งที่กําหนด

Parameters
indexThe button's position, where 0 is the left-most position.
การคืนสินค้า
ประเภทของปุ่มในตําแหน่งที่เลือก
- (void) setCustomButton: (nullable UIButton *)  customButton
atIndex: (NSUInteger)  index 

ตั้งค่าอินสแตนซ์ของ UIButton ที่ควรแสดงที่ตําแหน่งปุ่มที่ระบุ

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

แสดงการอ้างอิงไปยังปุ่มที่กําหนดเองในตําแหน่งที่ระบุ

Parameters
indexThe button's position, where 0 is the right-most position.
การคืนสินค้า
มีการอ้างอิงไปยังปุ่มในตําแหน่งที่เลือก หรือ nil หากไม่มีปุ่มที่กําหนดเองที่ตําแหน่งดังกล่าว หรือตําแหน่งไม่ถูกต้อง

รายละเอียดพร็อพเพอร์ตี้

- (BOOL) hideStreamPositionControlsForLiveContent
readwritenonatomicassign

เนื้อหาดังกล่าวควรซ่อนการควบคุมตําแหน่งของสตรีม (รวมถึงแถบเลื่อนตําแหน่งของสตรีม ป้ายกํากับตําแหน่งของสตรีม ป้ายกํากับระยะเวลาของสตรีม และมุมมองความคืบหน้าของสตรีม) สําหรับเนื้อหาสด

ค่าเริ่มต้นคือ NO

Since
4.0