3 #import <GoogleCast/GCKCastChannel.h> 4 #import <GoogleCast/GCKDefines.h> 6 #import <Foundation/Foundation.h> 8 @protocol GCKGenericChannelDelegate;
10 GCK_ASSUME_NONNULL_BEGIN
25 @property(nonatomic, weak, readwrite, GCK_NULLABLE) id<GCKGenericChannelDelegate>
delegate;
33 - (instancetype)initWithNamespace:(NSString *)
protocolNamespace NS_DESIGNATED_INITIALIZER;
41 @protocol GCKGenericChannelDelegate <NSObject>
47 didReceiveTextMessage:(NSString *)message
48 withNamespace:(NSString *)protocolNamespace;
75 - (void)castChannel:(
GCKCastChannel *)channel didChangeWritableState:(BOOL)writable;
79 GCK_ASSUME_NONNULL_END
NSString * protocolNamespace
The channel's namespace.
Definition: GCKCastChannel.h:28
A generic GCKCastChannel implementation, suitable for use when subclassing is not desired...
Definition: GCKGenericChannel.h:20
id< GCKGenericChannelDelegate > delegate
The delegate for receiving notifications about changes in the channel's state.
Definition: GCKGenericChannel.h:25
A virtual communication channel for exchanging messages between a Cast sender and a Cast receiver...
Definition: GCKCastChannel.h:25