net9.0-ios
namespace MultipeerConnectivity
{
[Protocol(Name = "MCSessionDelegate", WrapperType = typeof(MCSessionDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidChangeState", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(MCSession), typeof(MCPeerID), typeof(MCSessionState) }, Selector = "session:peer:didChangeState:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidReceiveData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(MCSession), typeof(NSData), typeof(MCPeerID) }, Selector = "session:didReceiveData:fromPeer:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidStartReceivingResource", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(MCSession), typeof(string), typeof(MCPeerID), typeof(NSProgress) }, Selector = "session:didStartReceivingResourceWithName:fromPeer:withProgress:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidFinishReceivingResource", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(MCSession), typeof(string), typeof(MCPeerID), typeof(NSUrl), typeof(NSError) }, Selector = "session:didFinishReceivingResourceWithName:fromPeer:atURL:withError:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidReceiveStream", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(MCSession), typeof(NSInputStream), typeof(string), typeof(MCPeerID) }, Selector = "session:didReceiveStream:withName:fromPeer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveCertificate", ParameterBlockProxy = new[] { null, null, null, typeof(NIDActionArity1V4) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(MCSession), typeof(SecCertificate[]), typeof(MCPeerID), typeof(Action<bool>) }, ReturnType = typeof(bool), Selector = "session:didReceiveCertificate:fromPeer:certificateHandler:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public interface IMCSessionDelegate : INativeObject, IDisposable
}
Assembly | Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst6.0-macos6.0-tvos7.0-ios7.0-maccatalyst7.0-macos7.0-tvos8.0-ios8.0-maccatalyst8.0-macos8.0-tvos9.0-ios9.0-maccatalyst9.0-macos9.0-tvos |
Xamarin iOS | 0.0 |
Xamarin macOS | 0.0 |
Xamarin tvOS | 0.0 |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|