/// <summary>
 /// Initializes a new instance of the
 /// <see cref="U3DXT.iOS.Multipeer.SessionStartedReceivingResourceWithNameEventArgs"/> class.
 /// </summary>
 /// <param name="_session">_session.</param>
 /// <param name="_resourceName">_resource name.</param>
 /// <param name="_peerID">_peer I.</param>
 /// <param name="_progress">_progress.</param>
 public SessionStartedReceivingResourceWithNameEventArgs(MCSession _session, string _resourceName, MCPeerID _peerID, U3DXT.iOS.Native.Foundation.NSProgress _progress)
 {
     session = _session;
     resourceName = _resourceName;
     peerID = _peerID;
     progress = _progress;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="U3DXT.iOS.Multipeer.SessionStartedReceivingResourceWithNameEventArgs"/> class.
 /// </summary>
 /// <param name="_session">_session.</param>
 /// <param name="_resourceName">_resource name.</param>
 /// <param name="_peerID">_peer I.</param>
 /// <param name="_progress">_progress.</param>
 public SessionStartedReceivingResourceWithNameEventArgs(MCSession _session, string _resourceName, MCPeerID _peerID, U3DXT.iOS.Native.Foundation.NSProgress _progress)
 {
     session      = _session;
     resourceName = _resourceName;
     peerID       = _peerID;
     progress     = _progress;
 }
Example #3
0
 internal static void OnSessionDidStartReceivingResourceWithName(MCSession session, string resourceName, MCPeerID peerID, U3DXT.iOS.Native.Foundation.NSProgress progress)
 {
     if (_sessionStartedReceivingResourceWithNameHandlers != null)
     {
         _sessionStartedReceivingResourceWithNameHandlers(null,
                                                          new SessionStartedReceivingResourceWithNameEventArgs(session, resourceName, peerID, progress));
     }
 }