<GCKGenericChannelDelegate> Protocol

<GCKGenericChannelDelegate> Protocol Reference

Overview

The GCKGenericChannel delegate protocol.

Inherits <GCKCastChannelNSObject>.

Instance Method Summary

Called when a text message has been received on the channel. More...
Called when the channel has been connected, indicating that messages can now be exchanged with the Cast device over the channel. More...
Called when the channel has been disconnected, indicating that messages can no longer be exchanged with the Cast device over the channel. More...
Called when the writable state of the channel has changed. 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.

Parameters
channel
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.

Parameters
channel
The channel.
- (void) castChannel: ( GCKCastChannel *)  channel
didChangeWritableState: (BOOL)  writable
optional

Called when the writable state of the channel has changed.

Parameters
channel The channel.
writable Whether the channel is now writable.
Since
4.0
Create a Mobile Website
View Site in Mobile | Classic
Share by: