internal static void OnSessionDidRecieve(MCSession session, U3DXT.iOS.Native.Foundation.NSData data, MCPeerID peerID) { if (_sessionReceivedHandlers != null) { _sessionReceivedHandlers(null, new SessionReceivedEventArgs(session, data, peerID)); } }
/// <summary> /// Initializes a new instance of the <see cref="U3DXT.iOS.Multipeer.SessionReceivedEventArgs"/> class. /// </summary> /// <param name="_session">_session.</param> /// <param name="_data">_data.</param> /// <param name="_peerID">_peer I.</param> public SessionReceivedEventArgs(MCSession _session, U3DXT.iOS.Native.Foundation.NSData _data, MCPeerID _peerID) { session = _session; data = _data; peerID = _peerID; }
/// <summary> /// Initializes a new instance of the <see cref="U3DXT.iOS.Multipeer.SessionReceivedEventArgs"/> class. /// </summary> /// <param name="_session">_session.</param> /// <param name="_data">_data.</param> /// <param name="_peerID">_peer I.</param> public SessionReceivedEventArgs(MCSession _session, U3DXT.iOS.Native.Foundation.NSData _data, MCPeerID _peerID) { session = _session; data = _data; peerID = _peerID; }