<GCKGenericChannelDelegate> Protocol

<GCKGenericChannelDelegate> Protocol Reference

Overview

The delegate for GCKGenericChannel notifications.

Inherits <GCKCastChannelNSObject>.

Instance Method Summary

(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...
 

Method Detail

- (void) castChannel: (GCKGenericChannel *)  channel
didReceiveTextMessage: (NSString *)  message
withNamespace: (NSString *)  protocolNamespace 

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

- (void) 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.

- (void) 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.

Google Cast iOS Sender API Reference v 2.10.1 4691