Class MFMessageComposeViewController

    • Constructor Detail

      • MFMessageComposeViewController

        protected MFMessageComposeViewController​(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)
      • canSendAttachments

        public static boolean canSendAttachments()
        canSendAttachments Returns YES if the user has set up the device for including attachments in messages..
      • canSendSubject

        public static boolean canSendSubject()
        canSendSubject Returns YES if the user has set up the device for including subjects in messages..
      • canSendText

        public static boolean canSendText()
        canSendText Returns YES if the user has set up the device for sending text only messages. If the return value is YES, the client can set the recipients and body of the message. If the return value is NO, the client may notify the user of the failure, or the client may open an SMS 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)
      • isSupportedAttachmentUTI

        public static boolean isSupportedAttachmentUTI​(java.lang.String uti)
        isSupportedAttachmentUTI: Returns YESif the attachment at the specified URL could be accepted by the current composition. If the return value is YES, the UTI is acceptable for attachment to a message, a return value of NO indicates that the given UTI is unsupported.
      • 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()
      • addAttachmentDataTypeIdentifierFilename

        public boolean addAttachmentDataTypeIdentifierFilename​(NSData attachmentData,
                                                               java.lang.String uti,
                                                               java.lang.String filename)
        addAttachmentData:typeIdentifier:filename: Returns YESif the attachment was added to the composition successfully. If the return value is YES, the attachment was added to the composition. If the return value is NO, the attachment was not added to the composition. The data and typeIdentifer must be non-nil. typeIdentifier should be a valid Uniform Type Identifier.
      • addAttachmentURLWithAlternateFilename

        public boolean addAttachmentURLWithAlternateFilename​(NSURL attachmentURL,
                                                             java.lang.String alternateFilename)
        addAttachmentURL:withAlternateFilename: Returns YESif the attachment at the specified URL was added to the composition successfully. If the return value is YES, the attachment was added to the composition. If the return value is NO, the attachment was not added to the composition. All attachment URLs must be file urls. The file URL must not be NIL. The alternate filename will be display to the user in leiu of the attachments URL. The alternate filename may be NIL.
      • attachments

        public NSArray<? extends NSDictionary<?,​?>> attachments()
        [@property] attachments This property returns an NSArray of NSDictionaries describing the properties of the current attachments. This property returns an NSArray of NSDictionaries describing the properties of the current attachments. See MFMessageComposeViewControllerAttachmentURL, MFMessageComposeViewControllerAttachmentAlternateFilename.
      • body

        public java.lang.String body()
        [@property] body This property sets the initial value of the body of the message to the specified content. This property will set the initial value of the body of the message. This should be called prior to display.

        After the view has been presented to the user, this property will no longer change the value.
      • disableUserAttachments

        public void disableUserAttachments()
        disableUserAttachments; Calling this method will disable the camera/attachment button in the view controller. After the controller has been presented, this call will have no effect. The camera / attachment button is visible by default.
      • initWithNavigationBarClassToolbarClass

        public MFMessageComposeViewController 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
      • message

        public MSMessage message()
        [@property] message This property sets the initial interactive message.
      • messageComposeDelegate

        public MFMessageComposeViewControllerDelegate messageComposeDelegate()
        [@property] messageComposeDelegate This property is the delegate for the MFMessageComposeViewController method callbacks.
      • recipients

        public NSArray<java.lang.String> recipients()
        [@property] recipients This property sets the initial value of the To field for the message to the specified addresses. This property will set the initial value of the To field for the message from an NSArray of NSString instances specifying the message addresses of recipients. This should be called prior to display.

        After the view has been presented to the user, this property will no longer change the value.
      • setBody

        public void setBody​(java.lang.String value)
        [@property] body This property sets the initial value of the body of the message to the specified content. This property will set the initial value of the body of the message. This should be called prior to display.

        After the view has been presented to the user, this property will no longer change the value.
      • setMessage

        public void setMessage​(MSMessage value)
        [@property] message This property sets the initial interactive message.
      • setMessageComposeDelegate_unsafe

        public void setMessageComposeDelegate_unsafe​(MFMessageComposeViewControllerDelegate value)
        [@property] messageComposeDelegate This property is the delegate for the MFMessageComposeViewController method callbacks.
      • setMessageComposeDelegate

        public void setMessageComposeDelegate​(MFMessageComposeViewControllerDelegate value)
        [@property] messageComposeDelegate This property is the delegate for the MFMessageComposeViewController method callbacks.
      • setRecipients

        public void setRecipients​(NSArray<java.lang.String> value)
        [@property] recipients This property sets the initial value of the To field for the message to the specified addresses. This property will set the initial value of the To field for the message from an NSArray of NSString instances specifying the message addresses of recipients. This should be called prior to display.

        After the view has been presented to the user, this property will no longer change the value.
      • setSubject

        public void setSubject​(java.lang.String value)
        [@property] subject This property sets the initial value of the subject of the message to the specified content. This property will set the initial value of the subject of the message. This should be called prior to display.

        After the view has been presented to the user, this property will no longer change the value.
      • subject

        public java.lang.String subject()
        [@property] subject This property sets the initial value of the subject of the message to the specified content. This property will set the initial value of the subject of the message. This should be called prior to display.

        After the view has been presented to the user, this property will no longer change the value.