mirror of
https://github.com/hackku21/nearby_connections.git
synced 2026-03-02 03:49:22 +00:00
example working
This commit is contained in:
@@ -216,8 +216,7 @@ public class NearbyConnectionsPlugin implements MethodCallHandler {
|
||||
|
||||
assert endpointId != null;
|
||||
assert bytes != null;
|
||||
String hello = "okay";
|
||||
Nearby.getConnectionsClient(activity).sendPayload(endpointId, Payload.fromBytes(hello.getBytes()));
|
||||
Nearby.getConnectionsClient(activity).sendPayload(endpointId, Payload.fromBytes(bytes));
|
||||
Log.d("NearbyCon java", "sentPayload");
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user