Page Summary
-
The GCKDeviceScannerListener protocol is used to listen for changes in the availability of Cast devices.
-
This protocol is deprecated and developers should use GCKDiscoveryManager and GCKDiscoveryManagerListener instead for discovering Cast receivers.
-
The protocol includes methods to be called when a device comes online, goes offline, or changes properties.
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
|
optional |
Called when a device has been discovered or has come online.
- Parameters
-
device The device.
|
optional |
Called when a device has gone offline.
- Parameters
-
device The 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
-
device The device.