개요
GCKSession 서브클래스에서만 재정의하고 호출할 메서드.
- 다음 이후:
- 3.0
인스턴스 메서드 요약 | |
| (void) | - start |
| 세션을 시작합니다. 더보기... | |
| (void) | - endAndStopCasting: |
| 세션을 종료합니다. 더보기... | |
| (void) | - suspendWithReason: |
| 지정된 이유로 세션을 정지합니다. 더보기... | |
| (void) | - resume |
| 세션을 재개합니다. 더보기... | |
| (void) | - notifyDidStartWithSessionID: |
| 세션이 시작되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
| (void) | - notifyDidFailToStartWithError: |
| 세션 시작에 실패했음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
| (void) | - notifyDidResume |
| 세션이 재개되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
| (void) | - notifyDidSuspendWithReason: |
| 세션이 정지되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
| (void) | - notifyDidEndWithError: |
| 프레임워크에 세션이 종료되었음을 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
| (void) | - notifyDidReceiveDeviceVolume:muted: |
| 업데이트된 기기 볼륨 및 음소거 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
| (void) | - notifyDidReceiveDeviceStatus: |
| 업데이트된 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다. 더보기... | |
메서드 세부정보
| - (void) start |
| - (void) endAndStopCasting: | (BOOL) | stopCasting |
세션을 종료합니다.
이는 비동기 작업입니다. 서브클래스에서 재정의해야 합니다.
- Parameters
-
stopCasting Whether to stop casting content to the receiver.
클래스 GCKSession를 확장합니다.
| - (void) suspendWithReason: | (GCKConnectionSuspendReason) | reason |
| - (void) resume |
| - (void) notifyDidStartWithSessionID: | (NSString *) | sessionID |
세션이 시작되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
sessionID The session's unique ID.
클래스 GCKSession를 확장합니다.
| - (void) notifyDidFailToStartWithError: | (NSError *) | error |
세션 시작에 실패했음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
error The error that occurred.
클래스 GCKSession를 확장합니다.
| - (void) notifyDidResume |
세션이 재개되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
클래스 GCKSession를 확장합니다.
| - (void) notifyDidSuspendWithReason: | (GCKConnectionSuspendReason) | reason |
세션이 정지되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
reason The reason for the suspension.
클래스 GCKSession를 확장합니다.
| - (void) notifyDidEndWithError: | (NSError *__nullable) | error |
프레임워크에 세션이 종료되었음을 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
error The error that caused the session to end, if any. Should be nilif the session was ended intentionally.
클래스 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: | (NSString *__nullable) | statusText |
업데이트된 상태가 기기에서 수신되었음을 프레임워크에 알리기 위해 서브클래스에서 호출합니다.
- Parameters
-
statusText The new status.
클래스 GCKSession를 확장합니다.