Package apple.messageui
Class MFMailComposeViewController
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIViewController
-
- apple.uikit.UINavigationController
-
- apple.messageui.MFMailComposeViewController
-
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObject,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIStateRestoring,UITraitEnvironment,UIUserActivityRestoring
public class MFMailComposeViewController extends UINavigationController
MFMailComposeViewController The MFMailComposeViewController class provides an interface for editing and sending email. The MFMailComposeViewController class manages all user interaction. The client needs to set the recipient or recipients. The client may also set the subject and the body of the message. Attachments may be added, if so desired. After setup, the client needs to only display the view.The provided delegate will be informed of the user's composition completion and how they chose to complete the operation.Prior to use, clients should verify the user has set up the device for sending email via +[MFMailComposeViewController canSendMail].
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIViewController
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMFMailComposeViewController(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()voidaddAttachmentDataMimeTypeFileName(NSData attachment, java.lang.String mimeType, java.lang.String filename)addAttachmentData:mimeType:fileName: This method adds the specified attachment to the email message.static MFMailComposeViewControlleralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static voidattemptRotationToDeviceOrientation()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static booleancanSendMail()canSendMail Returns YES if the user has set up the device for sending email.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(java.lang.String identifier)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()MFMailComposeViewControllerinit()MFMailComposeViewControllerinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERMFMailComposeViewControllerinitWithNavigationBarClassToolbarClass(org.moe.natj.objc.Class navigationBarClass, org.moe.natj.objc.Class toolbarClass)Use this initializer to make the navigation controller use your custom bar class.MFMailComposeViewControllerinitWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)Initializes the navigation controller with an empty stackMFMailComposeViewControllerinitWithRootViewController(UIViewController rootViewController)Initializer that also pushes the root view controller without animation.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)MFMailComposeViewControllerDelegatemailComposeDelegate()[@property] mailComposeDelegate This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.static java.lang.Objectnew_objc()static voidprepareInterstitialAds()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetBccRecipients(NSArray<java.lang.String> bccRecipients)setBccRecipients: This method sets the BCC header for the email message to the specified email addresses.voidsetCcRecipients(NSArray<java.lang.String> ccRecipients)setCcRecipients: This method sets the CC header for the email message to the specified email addresses.voidsetMailComposeDelegate(MFMailComposeViewControllerDelegate value)[@property] mailComposeDelegate This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.voidsetMailComposeDelegate_unsafe(MFMailComposeViewControllerDelegate value)[@property] mailComposeDelegate This property is the delegate for the MFMailComposeViewControllerDelegate method callbacks.voidsetMessageBodyIsHTML(java.lang.String body, boolean isHTML)setMessageBody:isHTML: This method sets the body of the email message to the specified content.voidsetPreferredSendingEmailAddress(java.lang.String emailAddress)setPreferredSendingEmailAddress: This method sets the preferred sending account of the email message.voidsetSubject(java.lang.String subject)setSubject: This method sets the Subject header for the email message.voidsetToRecipients(NSArray<java.lang.String> toRecipients)setToRecipients: This method sets the To header for the email message to the specified email addresses.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static longversion_static()-
Methods inherited from class apple.uikit.UINavigationController
barHideOnSwipeGestureRecognizer, barHideOnTapGestureRecognizer, delegate, hidesBarsOnSwipe, hidesBarsOnTap, hidesBarsWhenKeyboardAppears, hidesBarsWhenVerticallyCompact, interactivePopGestureRecognizer, isNavigationBarHidden, isToolbarHidden, navigationBar, popToRootViewControllerAnimated, popToViewControllerAnimated, popViewControllerAnimated, pushViewControllerAnimated, setDelegate, setDelegate_unsafe, setHidesBarsOnSwipe, setHidesBarsOnTap, setHidesBarsWhenKeyboardAppears, setHidesBarsWhenVerticallyCompact, setNavigationBarHidden, setNavigationBarHiddenAnimated, setToolbarHidden, setToolbarHiddenAnimated, setViewControllers, setViewControllersAnimated, showViewControllerSender, toolbar, topViewController, viewControllers, visibleViewController
-
Methods inherited from class apple.uikit.UIViewController
addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canDisplayBannerAds, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentSizeForViewInPopover, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, encodeWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interfaceOrientation, interstitialPresentationPolicy, isBeingDismissed, isBeingPresented, isDisplayingBannerAd, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, originalContentView, overrideTraitCollectionForChildViewController, overrideUserInterfaceStyle, parentFocusEnvironment, parentViewController, performsActionsWhilePresentingModally, performSegueWithIdentifierSender, popoverPresentationController, preferredContentSize, preferredContentSizeDidChangeForChildContentContainer, preferredFocusedView, preferredFocusEnvironments, preferredInterfaceOrientationForPresentation, preferredScreenEdgesDeferringSystemGestures, preferredStatusBarStyle, preferredStatusBarUpdateAnimation, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegueSender, presentationController, presentedViewController, presentingViewController, presentModalViewControllerAnimated, presentMoviePlayerViewControllerAnimated, presentViewControllerAnimatedCompletion, previewActionItems, providesPresentationContextTransitionStyle, registerForPreviewingWithDelegateSourceView, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationClass_unsafe, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate, setTransitioningDelegate_unsafe, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, shouldPresentInterstitialAd, shouldUpdateFocusInContext, showDetailViewControllerSender, sizeForChildContentContainerWithParentContainerSize, splitViewController, storyboard, supportedInterfaceOrientations, systemLayoutFittingSizeDidChangeForChildContentContainer, systemMinimumLayoutMargins, tabBarController, tabBarItem, targetViewControllerForActionSender, title, toolbarItems, topLayoutGuide, traitCollection, traitCollectionDidChange, transitionCoordinator, transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion, transitioningDelegate, unregisterForPreviewingWithContext, unwindForSegueTowardsViewController, updateFocusIfNeeded, updateViewConstraints, view, viewControllerForUnwindSegueActionFromViewControllerWithSender, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewLayoutMarginsDidChange, viewRespectsSystemMinimumLayoutMargins, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSizeWithTransitionCoordinator, viewWillUnload, wantsFullScreenLayout, willAnimateFirstHalfOfRotationToInterfaceOrientationDuration, willAnimateRotationToInterfaceOrientationDuration, willAnimateSecondHalfOfRotationFromInterfaceOrientationDuration, willMoveToParentViewController, willRotateToInterfaceOrientationDuration, willTransitionToTraitCollectionWithTransitionCoordinator
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MFMailComposeViewController alloc()
-
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()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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.
-
init
public MFMailComposeViewController init()
- Overrides:
initin classUINavigationController
-
initWithCoder
public MFMailComposeViewController initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUINavigationController
-
initWithNavigationBarClassToolbarClass
public MFMailComposeViewController initWithNavigationBarClassToolbarClass(org.moe.natj.objc.Class navigationBarClass, org.moe.natj.objc.Class toolbarClass)
Description copied from class:UINavigationControllerUse 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:
initWithNavigationBarClassToolbarClassin classUINavigationController
-
initWithNibNameBundle
public MFMailComposeViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
Description copied from class:UINavigationControllerInitializes the navigation controller with an empty stack- Overrides:
initWithNibNameBundlein classUINavigationController
-
initWithRootViewController
public MFMailComposeViewController initWithRootViewController(UIViewController rootViewController)
Description copied from class:UINavigationControllerInitializer that also pushes the root view controller without animation.- Overrides:
initWithRootViewControllerin classUINavigationController
-
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.
-
-