RCP SDK Java Wrapper  6.61.0
com.red.rcp.RCPDiscoveryListener Interface Reference

RCP Discovery Listener. More...

Inheritance diagram for com.red.rcp.RCPDiscoveryListener:
com.red.rcp.RCPDiscovery

Public Member Functions

void onCameraDiscoveryUpdate (String cameras)
 Invoked when camera discovery is complete. More...
 

Detailed Description

RCP Discovery Listener.

Implementation of this interface handles events dispatched to RCPDiscovery. RCP Discovery Listener defines the callback interface that will be called when a camera has been discovered on the network. This interface must also be implemented by any classes that instantiate a RCPDiscovery object, as the callback methods are delegated to the parent class.

Member Function Documentation

◆ onCameraDiscoveryUpdate()

void com.red.rcp.RCPDiscoveryListener.onCameraDiscoveryUpdate ( String  cameras)

Invoked when camera discovery is complete.

Upon completion of camera discovery, this method is invoked with list of cameras that were found on the network. The string is delimited in the following manner: "[Camera 1 Info];[Camera 2 Info];...;[Camera N Info]", where each <Camera n="" info>=""> is delimited as follows: "[ID]:[Pin]:[Type]:[Version]:[IP Address]:[Interface]"

Delimiting the list in this manner allows for easy splitting of the string using the String.split() method.

Parameters
camerasthe list of cameras discovered on the network

Implemented in com.red.rcp.RCPDiscovery.


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