מחלקה GCKUIExtendedMediaControlsViewController

הפניה לקטגוריה GCKUIExtendedMediaControlsViewController

סקירה כללית

בקר תצוגה עם פקדים מורחבים בתצוגת מסך מלא.

מאז
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.

מאז
4.0