I think you're looking at either a different API, or an older version of it.
The blog post links to this documentation page:
The blog post links to this documentation page:
Game API (C++):
void SendReliableMessage(
std::vector< std::string > const & remote_endpoint_ids,
std::vector< uint8_t > const & payload
)
Nearby API (Java): public abstract void sendReliableMessage
(GoogleApiClient apiClient,
List<String> remoteEndpointIds,
byte[] payload)
Note that this requires a "GoogleApiClient" object, which ties it to the mothership.