Class MFMessageComposeViewController

    • Constructor Detail

      • MFMessageComposeViewController

        public MFMessageComposeViewController()
      • MFMessageComposeViewController

        protected MFMessageComposeViewController​(NSObject.Handle h,
                                                 long handle)
      • MFMessageComposeViewController

        protected MFMessageComposeViewController​(NSObject.SkipInit skipInit)
      • MFMessageComposeViewController

        public MFMessageComposeViewController​(java.lang.Class<? extends UINavigationBar> navigationBarClass,
                                              java.lang.Class<? extends UIToolbar> toolbarClass)
        Since:
        Available in iOS 5.0 and later.
      • MFMessageComposeViewController

        public MFMessageComposeViewController​(UIViewController rootViewController)
      • MFMessageComposeViewController

        public MFMessageComposeViewController​(java.lang.String nibNameOrNil,
                                              NSBundle nibBundleOrNil)
      • MFMessageComposeViewController

        public MFMessageComposeViewController​(NSCoder decoder)
    • Method Detail

      • getRecipients

        public java.util.List<java.lang.String> getRecipients()
      • setRecipients

        public void setRecipients​(java.util.List<java.lang.String> v)
      • getBody

        public java.lang.String getBody()
      • setBody

        public void setBody​(java.lang.String v)
      • getSubject

        public java.lang.String getSubject()
        Since:
        Available in iOS 7.0 and later.
      • setSubject

        public void setSubject​(java.lang.String v)
        Since:
        Available in iOS 7.0 and later.
      • getMessage

        public MSMessage getMessage()
        Since:
        Available in iOS 10.0 and later.
      • setMessage

        public void setMessage​(MSMessage v)
        Since:
        Available in iOS 10.0 and later.
      • TextMessageAvailabilityDidChangeNotification

        public static NSString TextMessageAvailabilityDidChangeNotification()
        Since:
        Available in iOS 5.0 and later.
      • TextMessageAvailabilityKey

        protected static NSString TextMessageAvailabilityKey()
        Since:
        Available in iOS 5.0 and later.
      • disableUserAttachments

        public void disableUserAttachments()
        Since:
        Available in iOS 7.0 and later.
      • addAttachment

        public boolean addAttachment​(NSURL attachmentURL,
                                     java.lang.String alternateFilename)
        Since:
        Available in iOS 7.0 and later.
      • addAttachment

        public boolean addAttachment​(NSData attachmentData,
                                     java.lang.String uti,
                                     java.lang.String filename)
        Since:
        Available in iOS 7.0 and later.
      • canSendText

        public static boolean canSendText()
      • canSendSubject

        public static boolean canSendSubject()
        Since:
        Available in iOS 7.0 and later.
      • canSendAttachments

        public static boolean canSendAttachments()
        Since:
        Available in iOS 7.0 and later.
      • isSupportedAttachmentUTI

        public static boolean isSupportedAttachmentUTI​(java.lang.String uti)
        Since:
        Available in iOS 7.0 and later.