IMCSessionDelegate IMCSessionDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol MCSessionDelegate.

[Foundation.Protocol(Name="MCSessionDelegate", WrapperType=typeof(MultipeerConnectivity.MCSessionDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMCSessionDelegate : IDisposable, ObjCRuntime.INativeObject
type IMCSessionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by MCSessionDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the MCSessionDelegate protocol.

Optional methods (if any) are provided by the MCSessionDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Methods

DidChangeState(MCSession, MCPeerID, MCSessionState) DidChangeState(MCSession, MCPeerID, MCSessionState)
DidFinishReceivingResource(MCSession, String, MCPeerID, NSUrl, NSError) DidFinishReceivingResource(MCSession, String, MCPeerID, NSUrl, NSError)
DidReceiveData(MCSession, NSData, MCPeerID) DidReceiveData(MCSession, NSData, MCPeerID)
DidReceiveStream(MCSession, NSInputStream, String, MCPeerID) DidReceiveStream(MCSession, NSInputStream, String, MCPeerID)
DidStartReceivingResource(MCSession, String, MCPeerID, NSProgress) DidStartReceivingResource(MCSession, String, MCPeerID, NSProgress)

Properties

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidReceiveCertificate(IMCSessionDelegate, MCSession, SecCertificate[], MCPeerID, Action<Boolean>) DidReceiveCertificate(IMCSessionDelegate, MCSession, SecCertificate[], MCPeerID, Action<Boolean>)

Applies to