<GCKDeviceScannerListener> Protocol

<GCKDeviceScannerListener> Protocol Reference

Overview

The GCKDeviceScanner listener protocol.

Deprecated:
Use GCKDiscoveryManager and GCKDiscoveryManagerListener to discover Cast receivers.

Inherits <NSObjectNSObject>.

Instance Method Summary

(void) - deviceDidComeOnline:
 Called when a device has been discovered or has come online. More...
 
(void) - deviceDidGoOffline:
 Called when a device has gone offline. More...
 
(void) - deviceDidChange:
 Called when there is a change to one or more properties of the device that do not affect connectivity to the device. More...
 

Method Detail

- (void) deviceDidComeOnline: (GCKDevice *)  device
optional

Called when a device has been discovered or has come online.

Parameters
deviceThe device.
- (void) deviceDidGoOffline: (GCKDevice *)  device
optional

Called when a device has gone offline.

Parameters
deviceThe device.
- (void) deviceDidChange: (GCKDevice *)  device
optional

Called when there is a change to one or more properties of the device that do not affect connectivity to the device.

This includes all properties except the device ID, IP address, and service port; if any of these properties changes, the device will be reported as "offline" and a new device with the updated properties will be reported as "online".

Parameters
deviceThe device.