GCKUIExpandedMediaControlsViewController 클래스 참조
개요
확장 컨트롤 전체 화면 뷰를 구현하는 뷰 컨트롤러입니다.
- Since
- 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
입니다.