Package org.robovm.apple.messageui
Class MFMessageComposeViewController
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIResponder
-
- org.robovm.apple.uikit.UIViewController
-
- org.robovm.apple.uikit.UINavigationController
-
- org.robovm.apple.messageui.MFMessageComposeViewController
-
- All Implemented Interfaces:
NSCoding
,NSExtensionRequestHandling
,NSObjectProtocol
,UIAccessibility
,UIAppearanceContainer
,UIContentContainer
,UIFocusEnvironment
,UIStateRestoring
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
public class MFMessageComposeViewController extends UINavigationController
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MFMessageComposeViewController.MFMessageComposeViewControllerPtr
static class
MFMessageComposeViewController.Notifications
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UINavigationController
UINavigationController.UINavigationControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIViewController
UIViewController.UIViewControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MFMessageComposeViewController()
MFMessageComposeViewController(java.lang.Class<? extends UINavigationBar> navigationBarClass, java.lang.Class<? extends UIToolbar> toolbarClass)
MFMessageComposeViewController(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
MFMessageComposeViewController(NSCoder decoder)
protected
MFMessageComposeViewController(NSObject.Handle h, long handle)
protected
MFMessageComposeViewController(NSObject.SkipInit skipInit)
MFMessageComposeViewController(UIViewController rootViewController)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAttachment(NSData attachmentData, java.lang.String uti, java.lang.String filename)
boolean
addAttachment(NSURL attachmentURL, java.lang.String alternateFilename)
static boolean
canSendAttachments()
static boolean
canSendSubject()
static boolean
canSendText()
void
disableUserAttachments()
java.util.List<MFMessageComposeViewControllerAttachment>
getAttachments()
java.lang.String
getBody()
MSMessage
getMessage()
MFMessageComposeViewControllerDelegate
getMessageComposeDelegate()
java.util.List<java.lang.String>
getRecipients()
java.lang.String
getSubject()
static boolean
isSupportedAttachmentUTI(java.lang.String uti)
void
setBody(java.lang.String v)
void
setMessage(MSMessage v)
void
setMessageComposeDelegate(MFMessageComposeViewControllerDelegate v)
void
setRecipients(java.util.List<java.lang.String> v)
void
setSubject(java.lang.String v)
static NSString
TextMessageAvailabilityDidChangeNotification()
protected static NSString
TextMessageAvailabilityKey()
-
Methods inherited from class org.robovm.apple.uikit.UINavigationController
getBarHideOnSwipeGestureRecognizer, getBarHideOnTapGestureRecognizer, getDelegate, getHideShowBarDuration, getInteractivePopGestureRecognizer, getNavigationBar, getToolbar, getTopViewController, getViewControllers, getVisibleViewController, hidesBarsOnSwipe, hidesBarsOnTap, hidesBarsWhenKeyboardAppears, hidesBarsWhenVerticallyCompact, init, init, isNavigationBarHidden, isToolbarHidden, popToRootViewController, popToViewController, popViewController, pushViewController, setDelegate, setHidesBarsOnSwipe, setHidesBarsOnTap, setHidesBarsWhenKeyboardAppears, setHidesBarsWhenVerticallyCompact, setNavigationBarHidden, setNavigationBarHidden, setToolbarHidden, setToolbarHidden, setViewControllers, setViewControllers, showViewController
-
Methods inherited from class org.robovm.apple.uikit.UIViewController
addChildViewController, addKeyCommand, applicationFinishedRestoringState, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, beginRequest, canPerformUnwind, collapseSecondaryViewController, decodeRestorableState, definesPresentationContext, didMoveToParentViewController, didReceiveMemoryWarning, didRotate, didUpdateFocus, disablesAutomaticKeyboardDismissal, dismissMoviePlayerViewController, dismissViewController, encode, encodeRestorableState, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, getAdditionalSafeAreaInsets, getAllowedChildViewControllersForUnwinding, getBottomLayoutGuide, getChildViewControllerContainingSegueSource, getChildViewControllerForHomeIndicatorAutoHidden, getChildViewControllerForScreenEdgesDeferringSystemGestures, getChildViewControllerForStatusBarHidden, getChildViewControllerForStatusBarStyle, getChildViewControllers, getContentSizeForViewInPopover, getEdgesForExtendedLayout, getEditButtonItem, getExtensionContext, getFocusItemContainer, getInterfaceOrientation, getInterstitialPresentationPolicy, getModalPresentationStyle, getModalTransitionStyle, getNavigationController, getNavigationItem, getNibBundle, getNibName, getObjectRestorationClass, getOriginalContentView, getOverrideTraitCollection, getParentFocusEnvironment, getParentViewController, getPopoverPresentationController, getPreferredContentSize, getPreferredFocusedView, getPreferredFocusEnvironments, getPreferredInterfaceOrientationForPresentation, getPreferredScreenEdgesDeferringSystemGestures, getPreferredStatusBarStyle, getPreferredStatusBarUpdateAnimation, getPresentationController, getPresentedViewController, getPresentingViewController, getPreviewActionItems, getRestorationClass, getRestorationIdentifier, getRestorationParent, getRotatingFooterView, getRotatingHeaderView, getSearchDisplayController, getSegueForUnwinding, getSplitViewController, getStoryboard, getSupportedInterfaceOrientations, getSystemMinimumLayoutMargins, getTabBarController, getTabBarItem, getTargetViewControllerForAction, getTitle, getToolbarItems, getTopLayoutGuide, getTraitCollection, getTransitionCoordinator, getTransitioningDelegate, getView, getViewControllerForUnwind, getViewIfLoaded, hidesBottomBarWhenPushed, init, init, isBeingDismissed, isBeingPresented, isCanDisplayBannerAds, isDisplayingBannerAd, isEditing, isModalInPopover, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isRestoresFocusAfterTransition, isViewLoaded, isViewRespectsSystemMinimumLayoutMargins, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, performSegue, preferredContentSizeDidChangeForChildContentContainer, prefersHomeIndicatorAutoHidden, prefersStatusBarHidden, prepareForSegue, prepareInterstitialAds, presentMoviePlayerViewController, presentViewController, providesPresentationContextTransitionStyle, registerForPreviewing, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, separateSecondaryViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollection, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldPerformSegue, shouldPresentInterstitialAd, shouldUpdateFocus, ShowDetailTargetDidChangeNotification, showDetailViewController, sizeForChildContentContainer, systemLayoutFittingSizeDidChangeForChildContentContainer, traitCollectionDidChange, transition, unregisterForPreviewing, unwind, updateFocusIfNeeded, updateViewConstraints, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewLayoutMarginsDidChange, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSize, wantsFullScreenLayout, willAnimateRotation, willMoveToParentViewController, willRotate, willTransitionToTraitCollection
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
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
-
getMessageComposeDelegate
public MFMessageComposeViewControllerDelegate getMessageComposeDelegate()
-
setMessageComposeDelegate
public void setMessageComposeDelegate(MFMessageComposeViewControllerDelegate v)
-
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.
-
getAttachments
public java.util.List<MFMessageComposeViewControllerAttachment> getAttachments()
- 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.
-
-