Methods to be overridden and called by GCKSession subclasses only.
More...
#import <GCKSession+Protected.h>
Methods to be overridden and called by GCKSession subclasses only.
- Since
- 3.0
- (void) endWithAction: |
|
(GCKSessionEndAction) |
action |
|
Ends the session with the specified action.
This is an asynchronous operation. Must be overridden by subclasses.
- Parameters
-
action | The action to take when ending the session; see GCKSessionEndAction for more details. |
Extends class GCKSession.
- ("Do not call") GCK_DEPRECATED |
|
|
|
- (void) notifyDidEndWithError: |
|
(NSError *GCK_NULLABLE_TYPE) |
error |
willTryToResume: |
|
(BOOL) |
willTryToResume |
|
|
| |
Called by subclasses to notify the framework that the session has ended.
- 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. |
Extends class GCKSession.
- (void) notifyDidFailToStartWithError: |
|
(NSError *) |
error |
|
Called by subclasses to notify the framework that the session has failed to start.
- Parameters
-
error | The error that occurred. |
Extends class GCKSession.
- (void) notifyDidReceiveDeviceStatus: |
|
(NSString *GCK_NULLABLE_TYPE) |
statusText |
|
Called by subclasses to notify the framework that updated status has been received from the device.
- Parameters
-
statusText | The new status. |
Extends class GCKSession.
- (void) notifyDidReceiveDeviceVolume: |
|
(float) |
volume |
muted: |
|
(BOOL) |
muted |
|
|
| |
Called by subclasses to notify the framework that updated device volume and mute state has been received from the device.
- Parameters
-
volume | The device's current volume. Must be in the range [0, 1.0]; |
muted | The device's current mute state. |
Extends class GCKSession.
- (void) notifyDidStartWithSessionID: |
|
(NSString *) |
sessionID |
|
Called by subclasses to notify the framework that the session has been started.
- Parameters
-
sessionID | The session's unique ID. |
Extends class GCKSession.
- (void) notifyDidSuspendWithReason: |
|
("Do not call") |
GCK_DEPRECATED |
|
Starts the session.
This is an asynchronous operation. Must be overridden by subclasses.
Extends class GCKSession.
The documentation for this category was generated from the following file: