Indicates whether there is a restriction on the size of data blocks for Data objects of the Data.Type.BYTES type when data is received or transmitted. The test result shows that the transmission fails when the data in byte[] is large.
Asked
Active
Viewed 40 times
1 Answers
0
The maximum value of Data.type.BYTES in Nearby Connection is 32 KB.

skylinnn
- 629
- 1
- 4
- 6
-
There's one more detail I need to ask. When I send a file, are the data.gtId() of the sender and the data.getId() of the receiver the same ID? Or a different value? How does the receiver know the name of the file sent by the sender? Thanks – Jul 10 '20 at 08:54
-
You are right. The IDs of the two sides must be the same to match each other. – skylinnn Jul 10 '20 at 09:46