IMEComposeSessionHandler Interface

Definition

This interface represents the Objective-C protocol MEComposeSessionHandler.

[Foundation.Protocol(Name="MEComposeSessionHandler", WrapperType=typeof(MailKit.MEComposeSessionHandlerWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MailComposeSessionDidBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, Selector="mailComposeSessionDidBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MailComposeSessionDidEnd", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, Selector="mailComposeSessionDidEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, ReturnType=typeof(MailKit.MEExtensionViewController), Selector="viewControllerForSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnnotateAddress", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V78) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession), typeof(System.Action<Foundation.NSDictionary<MailKit.MEEmailAddress,MailKit.MEAddressAnnotation>>) }, Selector="session:annotateAddressesWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AllowMessageSend", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V16) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession), typeof(System.Action<Foundation.NSError>) }, Selector="session:canSendMessageWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAdditionalHeaders", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, ReturnType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSArray<Foundation.NSString>>), Selector="additionalHeadersForSession:")]
public interface IMEComposeSessionHandler : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="MEComposeSessionHandler", WrapperType=typeof(MailKit.MEComposeSessionHandlerWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MailComposeSessionDidBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, Selector="mailComposeSessionDidBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MailComposeSessionDidEnd", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, Selector="mailComposeSessionDidEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetViewController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, ReturnType=typeof(MailKit.MEExtensionViewController), Selector="viewControllerForSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnnotateAddress", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V78) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession), typeof(System.Action<Foundation.NSDictionary<MailKit.MEEmailAddress,MailKit.MEAddressAnnotation>>) }, Selector="session:annotateAddressesWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AllowMessageSend", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V16) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession), typeof(System.Action<Foundation.NSError>) }, Selector="session:canSendMessageWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAdditionalHeaders", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(MailKit.MEComposeSession) }, ReturnType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSArray<Foundation.NSString>>), Selector="additionalHeadersForSession:")>]
type IMEComposeSessionHandler = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Applies to