GCKSession(Protected)カテゴリ

GCKSession(Protected)カテゴリ リファレンス

概要

GCKSession サブクラスでのみオーバーライドして呼び出すメソッド。

開始:
3.0

インスタンス メソッドの概要

(void) - start
 セッションを開始します。その他...
 
(void) - endWithAction:
 指定したアクションのセッションを終了します。その他...
 
(void) - notifyDidStartWithSessionID:
 セッションが開始されたことをフレームワークに通知するためにサブクラスによって呼び出されます。その他...
 
(void) - notifyDidFailToStartWithError:
 セッションの開始に失敗したことをフレームワークに通知するために、サブクラスによって呼び出されます。その他...
 
(void) - notifyDidEndWithError:willTryToResume:
 セッションが終了したことをフレームワークに通知するために、サブクラスによって呼び出されます。その他...
 
(void) - notifyDidReceiveDeviceVolume:muted:
 サブクラスによって呼び出され、更新されたデバイスの音量とミュート状態をデバイスから受け取ったことをフレームワークに通知します。その他...
 
(void) - notifyDidReceiveDeviceStatus:
 サブクラスによって呼び出され、更新されたステータスをデバイスから受け取ったことをフレームワークに通知します。その他...
 
(void) - notifyDidSuspendWithReason:
 非推奨。NoOps として実装された - は使用しないでください。詳細...
 
(void) - notifyDidResume
 非推奨。NoOps として実装された - は使用しないでください。詳細...
 

メソッドの詳細

- (void) start

セッションを開始します。

これは非同期処理です。サブクラスでオーバーライドする必要があります。

クラス GCKSession を拡張します。

- (void) endWithAction: (GCKSessionEndAction action

指定したアクションのセッションを終了します。

これは非同期処理です。サブクラスでオーバーライドする必要があります。

Parameters
actionThe action to take when ending the session; see GCKSessionEndAction for more details.

クラス GCKSession を拡張します。

- (void) notifyDidStartWithSessionID: (NSString *)  sessionID

セッションが開始されたことをフレームワークに通知するためにサブクラスによって呼び出されます。

Parameters
sessionIDThe session's unique ID.

クラス GCKSession を拡張します。

- (void) notifyDidFailToStartWithError: (GCKError *)  error

セッションの開始に失敗したことをフレームワークに通知するために、サブクラスによって呼び出されます。

Parameters
errorThe error that occurred.

クラス GCKSession を拡張します。

- (void) notifyDidEndWithError: (nullable NSError *)  error
willTryToResume: (BOOL)  willTryToResume 

セッションが終了したことをフレームワークに通知するために、サブクラスによって呼び出されます。

Parameters
errorThe error that caused the session to end, if any. Should be nil if the session was ended intentionally.
willTryToResumeWhether the session will try to resume itself automatically.

クラス GCKSession を拡張します。

- (void) notifyDidReceiveDeviceVolume: (float)  volume
muted: (BOOL)  muted 

サブクラスによって呼び出され、更新されたデバイスの音量とミュート状態をデバイスから受け取ったことをフレームワークに通知します。

Parameters
volumeThe device's current volume. Must be in the range [0, 1.0];
mutedThe device's current mute state.

クラス GCKSession を拡張します。

- (void) notifyDidReceiveDeviceStatus: (nullable NSString *)  statusText

サブクラスによって呼び出され、更新されたステータスをデバイスから受け取ったことをフレームワークに通知します。

Parameters
statusTextThe new status.

クラス GCKSession を拡張します。

- (void) notifyDidSuspendWithReason: (GCKConnectionSuspendReason reason

非推奨。使用しないでください - NoOps として実装されます。

Deprecated:
電話はしないでください。

クラス GCKSession を拡張します。

- (void) notifyDidResume

非推奨。使用しないでください - NoOps として実装されます。

Deprecated:
電話はしないでください。

クラス GCKSession を拡張します。