public interface GKDataReceiveHandler
Modifier and Type | Method and Description |
---|---|
void |
receiveData(NSData data,
String peer,
GKSession session,
Object context)
It is used when data that is sent by other peers within the specified session is received.
|
void receiveData(NSData data, String peer, GKSession session, Object context)
data
- That data that is received.peer
- The sender of the data.session
- The current session.context
- The session context.Copyright © 2020. All rights reserved.