public final class

DiscoveredEndpointInfo

extends Object
java.lang.Object
   ↳ com.google.android.gms.nearby.connection.DiscoveredEndpointInfo

Class Overview

Information about an endpoint when it's discovered.

Summary

Public Constructors
DiscoveredEndpointInfo(String serviceId, String endpointName)
Public Methods
String getEndpointName()
The human readable name of the remote endpoint.
String getServiceId()
The ID of the service advertised by the remote endpoint.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DiscoveredEndpointInfo (String serviceId, String endpointName)

Parameters
serviceId String
endpointName String

Public Methods

public String getEndpointName ()

The human readable name of the remote endpoint.

Returns
String

public String getServiceId ()

The ID of the service advertised by the remote endpoint.

Returns
String