<GCKGenericChannelDelegate > Protocol Reference

The GCKGenericChannel delegate protocol. More...

#import <GCKGenericChannel.h>

+ Inheritance diagram for <GCKGenericChannelDelegate >:

Instance Methods

(void) - castChannel:didReceiveTextMessage:withNamespace:
 Called when a text message has been received on the channel. More...
 
(void) - castChannelDidConnect:
 Called when the channel has been connected, indicating that messages can now be exchanged with the Cast device over the channel. More...
 
(void) - castChannelDidDisconnect:
 Called when the channel has been disconnected, indicating that messages can no longer be exchanged with the Cast device over the channel. More...
 
(void) - castChannel:didChangeWritableState:
 Called when the writable state of the channel has changed. More...
 

Detailed Description

The GCKGenericChannel delegate protocol.

Method Documentation

- (void GCKGenericChannelDelegate) castChannel: (GCKCastChannel *)  channel
didChangeWritableState: (BOOL)  writable 
optional

Called when the writable state of the channel has changed.

Parameters
channelThe channel.
writableWhether the channel is now writable.
Since
4.0
- (void GCKGenericChannelDelegate) castChannel: (GCKGenericChannel *)  channel
didReceiveTextMessage: (NSString *)  message
withNamespace: (NSString *)  protocolNamespace 

Called when a text message has been received on the channel.

- (void GCKGenericChannelDelegate) castChannelDidConnect: (GCKGenericChannel *)  channel
optional

Called when the channel has been connected, indicating that messages can now be exchanged with the Cast device over the channel.

Parameters
channelThe channel.
- (void GCKGenericChannelDelegate) castChannelDidDisconnect: (GCKGenericChannel *)  channel
optional

Called when the channel has been disconnected, indicating that messages can no longer be exchanged with the Cast device over the channel.

Parameters
channelThe channel.

The documentation for this protocol was generated from the following file: