הפניה למחלקה GCKUIExpandedMediaControlsViewController
סקירה כללית
שלט רחוק לתצוגה שמטמיע את התצוגה המורחבת במסך מלא.
- סינסה
- 3.1
עובר בירושה ל-UIViewController. הטמעת <GCKUIMediaButtonBarProtocol>.
סיכום של שיטת המכונה | |
(NSUInteger) | - buttonCount |
מספר הלחצנים המקסימלי שניתן להתאים אישית על ידי המקבל. עוד... | |
(void) | - setButtonType:atIndex: |
הגדרת סוג הלחצן עבור הלחצן במיקום index . עוד... | |
(GCKUIMediaButtonType) | - buttonTypeAtIndex: |
מחזירה את סוג הלחצן הנוכחי במיקום נתון. עוד... | |
(void) | - setCustomButton:atIndex: |
הגדרת המופע של UIButton שאמור להיות מוצג במיקום של לחצן נתון. עוד... | |
(UIButton *__nullable) | - customButtonAtIndex: |
מחזיר הפנייה ללחצן המותאם אישית במיקום נתון. עוד... | |
פרטי השיטה
- (NSUInteger) buttonCount |
מספר הלחצנים המקסימלי שניתן להתאים אישית על ידי המקבל.
- החזרות
- מספר הלחצנים.
- (void) setButtonType: | (GCKUIMediaButtonType) | buttonType | |
atIndex: | (NSUInteger) | index | |
הגדרת סוג הלחצן עבור הלחצן במיקום index
.
- Parameters
-
buttonType The 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. index The 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
-
index The button's position, where 0 is the left-most position.
- החזרות
- סוג הלחצן במיקום שנבחר.
- (void) setCustomButton: | (UIButton *__nullable) | customButton | |
atIndex: | (NSUInteger) | index | |
הגדרת המופע של UIButton שאמור להיות מוצג במיקום של לחצן נתון.
- Parameters
-
customButton The button instance to be presented in the control bar. index The 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 |
מחזיר הפנייה ללחצן המותאם אישית במיקום נתון.
- Parameters
-
index The button's position, where 0 is the right-most position.
- החזרות
- הפניה ללחצן במיקום שנבחר, או
nil
אם אין לחצן מותאם אישית במיקום הזה או שהמיקום לא חוקי.