3 #import <GoogleCast/GCKSession.h> 5 #import <GoogleCast/GCKDefines.h> 7 #import <Foundation/Foundation.h> 14 GCK_ASSUME_NONNULL_BEGIN
21 typedef NS_ENUM(NSInteger, GCKSessionEndAction) {
23 GCKSessionEndActionLeave = 1,
25 GCKSessionEndActionDisconnect = 2,
27 GCKSessionEndActionStopCasting = 3
49 - (void)endWithAction:(GCKSessionEndAction)action;
56 - (void)notifyDidStartWithSessionID:(NSString *)sessionID;
63 - (void)notifyDidFailToStartWithError:(NSError *)error;
72 - (void)notifyDidEndWithError:(NSError *GCK_NULLABLE_TYPE)error
73 willTryToResume:(BOOL)willTryToResume;
82 - (void)notifyDidReceiveDeviceVolume:(
float)volume muted:(BOOL)muted;
90 - (void)notifyDidReceiveDeviceStatus:(NSString *GCK_NULLABLE_TYPE)statusText;
97 - (void)notifyDidSuspendWithReason:(GCKConnectionSuspendReason)reason GCK_DEPRECATED("Do not call");
104 - (void)notifyDidResume GCK_DEPRECATED("Do not call");
108 GCK_ASSUME_NONNULL_END
Methods to be overridden and called by GCKSession subclasses only.
Definition: GCKSession+Protected.h:35