Class MFMailComposeViewController

    • Constructor Detail

      • MFMailComposeViewController

        protected MFMailComposeViewController​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attemptRotationToDeviceOrientation

        public static void attemptRotationToDeviceOrientation()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • canSendMail

        public static boolean canSendMail()
        canSendMail Returns YES if the user has set up the device for sending email. The client may continue to set the recipients and content if the return value was YES. If NO was the result, the client has a couple options. It may choose to simply notify the user of the inability to send mail, or it may issue a "mailto" URL via -[UIApplication openURL:].
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • prepareInterstitialAds

        public static void prepareInterstitialAds()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • addAttachmentDataMimeTypeFileName

        public void addAttachmentDataMimeTypeFileName​(NSData attachment,
                                                      java.lang.String mimeType,
                                                      java.lang.String filename)
        addAttachmentData:mimeType:fileName: This method adds the specified attachment to the email message. This method adds the specified attachment to the email message. This should be called prior to display. Attachments will be appended to the end of the message.
        Parameters:
        attachment - NSData containing the contents of the attachment. Must not be nil.
        mimeType - NSString specifying the MIME type for the attachment, as specified by the IANA (http://www.iana.org/assignments/media-types/). Must not be nil.
        filename - NSString specifying the intended filename for the attachment. This is displayed below the attachment's icon if the attachment is not decoded when displayed. Must not be nil.
      • initWithNavigationBarClassToolbarClass

        public MFMailComposeViewController initWithNavigationBarClassToolbarClass​(org.moe.natj.objc.Class navigationBarClass,
                                                                                  org.moe.natj.objc.Class toolbarClass)
        Description copied from class: UINavigationController
        Use this initializer to make the navigation controller use your custom bar class. Passing nil for navigationBarClass will get you UINavigationBar, nil for toolbarClass gets UIToolbar. The arguments must otherwise be subclasses of the respective UIKit classes.
        Overrides:
        initWithNavigationBarClassToolbarClass in class UINavigationController
      • mailComposeDelegate

        public MFMailComposeViewControllerDelegate mailComposeDelegate()
        [@property] mailComposeDelegate This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.
      • setBccRecipients

        public void setBccRecipients​(NSArray<java.lang.String> bccRecipients)
        setBccRecipients: This method sets the BCC header for the email message to the specified email addresses. This method will set the BCC header for the email message. This should be called prior to display.

        Recipient addresses should be specified as per RFC5322.

        After the view has been presented to the user, this method will no longer change the value.
        Parameters:
        bccRecipients - A NSArray of NSString instances specifying the email addresses of recipients.
      • setCcRecipients

        public void setCcRecipients​(NSArray<java.lang.String> ccRecipients)
        setCcRecipients: This method sets the CC header for the email message to the specified email addresses. This method will set the CC header for the email message. This should be called prior to display.

        Recipient addresses should be specified as per RFC5322.

        After the view has been presented to the user, this method will no longer change the value.
        Parameters:
        ccRecipients - A NSArray of NSString instances specifying the email addresses of recipients.
      • setMailComposeDelegate_unsafe

        public void setMailComposeDelegate_unsafe​(MFMailComposeViewControllerDelegate value)
        [@property] mailComposeDelegate This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.
      • setMailComposeDelegate

        public void setMailComposeDelegate​(MFMailComposeViewControllerDelegate value)
        [@property] mailComposeDelegate This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.
      • setMessageBodyIsHTML

        public void setMessageBodyIsHTML​(java.lang.String body,
                                         boolean isHTML)
        setMessageBody:isHTML: This method sets the body of the email message to the specified content. This method will set the body of the email message. This should be called prior to display. The user's signature, if specified, will be added after the body content.
        Parameters:
        body - A NSString containing the body contents of the email message.
        isHTML - A boolean value indicating if the body argument is to be interpreted as HTML content.
      • setSubject

        public void setSubject​(java.lang.String subject)
        setSubject: This method sets the Subject header for the email message. This method will set the Subject header for the email message. This should be called prior to display. Newlines are removed from the parameter.

        After the view has been presented to the user, this method will no longer change the value.
        Parameters:
        subject - A NSString specifying the message's Subject header.
      • setToRecipients

        public void setToRecipients​(NSArray<java.lang.String> toRecipients)
        setToRecipients: This method sets the To header for the email message to the specified email addresses. This method will set the To header for the email message. This should be called prior to display.

        Recipient addresses should be specified as per RFC5322.

        After the view has been presented to the user, this method will no longer change the value.
        Parameters:
        toRecipients - A NSArray of NSString instances specifying the email addresses of recipients.
      • setPreferredSendingEmailAddress

        public void setPreferredSendingEmailAddress​(java.lang.String emailAddress)
        setPreferredSendingEmailAddress: This method sets the preferred sending account of the email message. This method will set the sending account of the message to the specified email address if the user has an account with such an address set up. If there is no account with such an address, the default account will be used instead. The sending email address should be specified as per RFC5322. After the view has been presented to the user, this method will no longer change the value.
        Parameters:
        emailAddress - A NSString specifying the preferred email address used to send this message.