net9.0-ios17.2
namespace WatchConnectivity
{
[Protocol(Name = "WCSessionDelegate", WrapperType = typeof(WCSessionDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionWatchStateDidChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WCSession) }, Selector = "sessionWatchStateDidChange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionReachabilityDidChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WCSession) }, Selector = "sessionReachabilityDidChange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveMessage", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WCSession), typeof(NSDictionary<NSString, NSObject>) }, Selector = "session:didReceiveMessage:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveMessageData", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WCSession), typeof(NSData) }, Selector = "session:didReceiveMessageData:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveApplicationContext", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WCSession), typeof(NSDictionary<NSString, NSObject>) }, Selector = "session:didReceiveApplicationContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidFinishUserInfoTransfer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WCSession), typeof(WCSessionUserInfoTransfer), typeof(NSError) }, Selector = "session:didFinishUserInfoTransfer:error:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveUserInfo", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WCSession), typeof(NSDictionary<NSString, NSObject>) }, Selector = "session:didReceiveUserInfo:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidFinishFileTransfer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WCSession), typeof(WCSessionFileTransfer), typeof(NSError) }, Selector = "session:didFinishFileTransfer:error:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveFile", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WCSession), typeof(WCSessionFile) }, Selector = "session:didReceiveFile:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ActivationDidComplete", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WCSession), typeof(WCSessionActivationState), typeof(NSError) }, Selector = "session:activationDidCompleteWithState:error:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidBecomeInactive", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WCSession) }, Selector = "sessionDidBecomeInactive:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidDeactivate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WCSession) }, Selector = "sessionDidDeactivate:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveMessage", ParameterBlockProxy = new[] { null, null, typeof(NIDWCSessionReplyHandler) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WCSession), typeof(NSDictionary<NSString, NSObject>), typeof(WCSessionReplyHandler) }, Selector = "session:didReceiveMessage:replyHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveMessageData", ParameterBlockProxy = new[] { null, null, typeof(NIDWCSessionReplyDataHandler) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WCSession), typeof(NSData), typeof(WCSessionReplyDataHandler) }, Selector = "session:didReceiveMessageData:replyHandler:")]
public interface IWCSessionDelegate : INativeObject, IDisposable
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
iOS | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
Information specific to net9.0-ios17.2 | |
Assembly | Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|