Share via


MCSessionDelegate.DidFinishReceivingResource Method

Definition

Indicates that the transfer of resourceName has completed.

[Foundation.Export("session:didFinishReceivingResourceWithName:fromPeer:atURL:withError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidFinishReceivingResource(MultipeerConnectivity.MCSession session, string resourceName, MultipeerConnectivity.MCPeerID fromPeer, Foundation.NSUrl? localUrl, Foundation.NSError? error);
[<Foundation.Export("session:didFinishReceivingResourceWithName:fromPeer:atURL:withError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidFinishReceivingResource : MultipeerConnectivity.MCSession * string * MultipeerConnectivity.MCPeerID * Foundation.NSUrl * Foundation.NSError -> unit
override this.DidFinishReceivingResource : MultipeerConnectivity.MCSession * string * MultipeerConnectivity.MCPeerID * Foundation.NSUrl * Foundation.NSError -> unit

Parameters

session
MCSession
resourceName
String
fromPeer
MCPeerID
localUrl
NSUrl

To be added.

This parameter can be null.

error
NSError

The error (if any) that occurred during transfer.

This parameter can be null.

Implements

Attributes

Applies to