Package apple.messageui
Class MFMessageComposeViewController
- 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.MFMessageComposeViewController
-
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObject,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIStateRestoring,UITraitEnvironment,UIUserActivityRestoring
public class MFMessageComposeViewController extends UINavigationController
MFMessageComposeViewController The MFMessageComposeViewController class provides an interface for editing and sending a message. The MFMessageComposeViewController class manages all user interaction. The client needs to set the recipient or recipients. The client may also set the body of the message. 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 messages via +[MFMessageComposeViewController canSendText].
-
-
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 protectedMFMessageComposeViewController(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()booleanaddAttachmentDataTypeIdentifierFilename(NSData attachmentData, java.lang.String uti, java.lang.String filename)addAttachmentData:typeIdentifier:filename: Returns YESif the attachment was added to the composition successfully.booleanaddAttachmentURLWithAlternateFilename(NSURL attachmentURL, java.lang.String alternateFilename)addAttachmentURL:withAlternateFilename: Returns YESif the attachment at the specified URL was added to the composition successfully.static MFMessageComposeViewControlleralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSArray<? extends NSDictionary<?,?>>attachments()[@property] attachments This property returns an NSArray of NSDictionaries describing the properties of the current attachments.static voidattemptRotationToDeviceOrientation()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)java.lang.Stringbody()[@property] body This property sets the initial value of the body of the message to the specified content.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static booleancanSendAttachments()canSendAttachments Returns YES if the user has set up the device for including attachments in messages..static booleancanSendSubject()canSendSubject Returns YES if the user has set up the device for including subjects in messages..static booleancanSendText()canSendText Returns YES if the user has set up the device for sending text only messages.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()voiddisableUserAttachments()disableUserAttachments; Calling this method will disable the camera/attachment button in the view controller.static longhash_static()MFMessageComposeViewControllerinit()MFMessageComposeViewControllerinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERMFMessageComposeViewControllerinitWithNavigationBarClassToolbarClass(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.MFMessageComposeViewControllerinitWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)Initializes the navigation controller with an empty stackMFMessageComposeViewControllerinitWithRootViewController(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 booleanisSupportedAttachmentUTI(java.lang.String uti)isSupportedAttachmentUTI: Returns YESif the attachment at the specified URL could be accepted by the current composition.static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)MSMessagemessage()[@property] message This property sets the initial interactive message.MFMessageComposeViewControllerDelegatemessageComposeDelegate()[@property] messageComposeDelegate This property is the delegate for the MFMessageComposeViewController method callbacks.static java.lang.Objectnew_objc()static voidprepareInterstitialAds()NSArray<java.lang.String>recipients()[@property] recipients This property sets the initial value of the To field for the message to the specified addresses.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetBody(java.lang.String value)[@property] body This property sets the initial value of the body of the message to the specified content.voidsetMessage(MSMessage value)[@property] message This property sets the initial interactive message.voidsetMessageComposeDelegate(MFMessageComposeViewControllerDelegate value)[@property] messageComposeDelegate This property is the delegate for the MFMessageComposeViewController method callbacks.voidsetMessageComposeDelegate_unsafe(MFMessageComposeViewControllerDelegate value)[@property] messageComposeDelegate This property is the delegate for the MFMessageComposeViewController method callbacks.voidsetRecipients(NSArray<java.lang.String> value)[@property] recipients This property sets the initial value of the To field for the message to the specified addresses.voidsetSubject(java.lang.String value)[@property] subject This property sets the initial value of the subject of the message to the specified content.static voidsetVersion_static(long aVersion)java.lang.Stringsubject()[@property] subject This property sets the initial value of the subject of the message to the specified content.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 MFMessageComposeViewController 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)
-
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()
-
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)
-
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.
-
init
public MFMessageComposeViewController init()
- Overrides:
initin classUINavigationController
-
initWithCoder
public MFMessageComposeViewController initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUINavigationController
-
initWithNavigationBarClassToolbarClass
public MFMessageComposeViewController 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 MFMessageComposeViewController initWithNibNameBundle(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
Description copied from class:UINavigationControllerInitializes the navigation controller with an empty stack- Overrides:
initWithNibNameBundlein classUINavigationController
-
initWithRootViewController
public MFMessageComposeViewController initWithRootViewController(UIViewController rootViewController)
Description copied from class:UINavigationControllerInitializer that also pushes the root view controller without animation.- Overrides:
initWithRootViewControllerin classUINavigationController
-
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.
-
-