GCKSession(보호됨) 카테고리 참조
개요
GCKSession 서브클래스에서만 재정의하고 호출할 메서드.
- 다음 이후:
- 3.0
인스턴스 메서드 요약 | |
(void) | - start |
세션을 시작합니다. 더보기... | |
(void) | - endWithAction: |
지정된 작업으로 세션을 종료합니다. 더보기... | |
(void) | - notifyDidStartWithSessionID: |
세션이 시작되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
(void) | - notifyDidFailToStartWithError: |
세션 시작에 실패했음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
(void) | - notifyDidEndWithError:willTryToResume: |
프레임워크에 세션이 종료되었음을 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
(void) | - notifyDidReceiveDeviceVolume:muted: |
업데이트된 기기 볼륨 및 음소거 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
(void) | - notifyDidReceiveDeviceStatus: |
업데이트된 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
(void) | - notifyDidSuspendWithReason: |
지원 중단되었습니다. 사용하지 마세요. 노옵스(no-ops)로 구현되었습니다. 더보기... | |
(void) | - notifyDidResume |
지원 중단되었습니다. 사용하지 마세요. 노옵스(no-ops)로 구현되었습니다. 더보기... | |
메서드 세부정보
- (void) start |
- (void) endWithAction: | (GCKSessionEndAction) | action |
지정된 작업으로 세션을 종료합니다.
이는 비동기 작업입니다. 서브클래스에서 재정의해야 합니다.
- Parameters
-
action The action to take when ending the session; see GCKSessionEndAction for more details.
클래스 GCKSession를 확장합니다.
- (void) notifyDidStartWithSessionID: | (NSString *) | sessionID |
세션이 시작되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
sessionID The session's unique ID.
클래스 GCKSession를 확장합니다.
- (void) notifyDidFailToStartWithError: | (GCKError *) | error |
세션 시작에 실패했음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
error The error that occurred.
클래스 GCKSession를 확장합니다.
- (void) notifyDidEndWithError: | (nullable NSError *) | error | |
willTryToResume: | (BOOL) | willTryToResume | |
프레임워크에 세션이 종료되었음을 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
error The error that caused the session to end, if any. Should be nil
if the session was ended intentionally.willTryToResume Whether the session will try to resume itself automatically.
클래스 GCKSession를 확장합니다.
- (void) notifyDidReceiveDeviceVolume: | (float) | volume | |
muted: | (BOOL) | muted | |
업데이트된 기기 볼륨 및 음소거 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
volume The device's current volume. Must be in the range [0, 1.0]; muted The device's current mute state.
클래스 GCKSession를 확장합니다.
- (void) notifyDidReceiveDeviceStatus: | (nullable NSString *) | statusText |
업데이트된 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
statusText The new status.
클래스 GCKSession를 확장합니다.
- (void) notifyDidSuspendWithReason: | (GCKConnectionSuspendReason) | reason |
- (void) notifyDidResume |