GCKUIExpandedMediaControlsViewController 클래스

GCKUIExpandedMediaControlsViewController 클래스 참조

개요

확장된 컨트롤 전체 화면 뷰를 구현하는 뷰 컨트롤러입니다.

다음 이후:
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