| CLASS info |
| public class ConnectInfo implements Parcelable |
| Represents the information about a connection. |
| Constructor |
| public ConnectInfo(String endpointName, String authCode, boolean isRemoteConnect) Creates a ConnectInfo object. |
| Return type | Method name |
| String | getAuthCode() Obtains the symmetric authentication codes from both ends. |
| String | getEndpointName() Obtains the name of the remote endpoint. |
| boolean | isRemoteConnect() Checks whether the connection request is initiated by the remote endpoint. |
| Constructor |
| public ConnectInfo(String endpointName, String authCode, boolean isRemoteConnect) |
| Creates a ConnectInfo object. |
Parameters
| Parameter name | Parameter desc |
| endpointName | Name of the remote endpoint. |
| authCode | Authentication code. |
| isRemoteConnect | Indicates whether the connection is initiated by the remote endpoint. If so, the value true is returned; otherwise, the value false is returned. |
| Method |
| public String getAuthCode() |
| Obtains the symmetric authentication codes from both ends. |
| Method |
| public String getEndpointName() |
| Obtains the name of the remote endpoint. |