Package org.robovm.apple.social
Class SLComposeServiceViewController
- 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.social.SLComposeServiceViewController
-
- All Implemented Interfaces:
NSCoding
,NSExtensionRequestHandling
,NSObjectProtocol
,UIAccessibility
,UIAppearanceContainer
,UIContentContainer
,UIFocusEnvironment
,UIScrollViewDelegate
,UIStateRestoring
,UITextViewDelegate
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
public class SLComposeServiceViewController extends UIViewController implements UITextViewDelegate
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SLComposeServiceViewController.SLComposeServiceViewControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIViewController
UIViewController.Notifications, 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 SLComposeServiceViewController()
SLComposeServiceViewController(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
SLComposeServiceViewController(NSCoder decoder)
protected
SLComposeServiceViewController(NSObject.Handle h, long handle)
protected
SLComposeServiceViewController(NSObject.SkipInit skipInit)
-
Method Summary
-
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, showViewController, 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
-
SLComposeServiceViewController
public SLComposeServiceViewController()
-
SLComposeServiceViewController
protected SLComposeServiceViewController(NSObject.Handle h, long handle)
-
SLComposeServiceViewController
protected SLComposeServiceViewController(NSObject.SkipInit skipInit)
-
SLComposeServiceViewController
public SLComposeServiceViewController(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
-
SLComposeServiceViewController
public SLComposeServiceViewController(NSCoder decoder)
-
-
Method Detail
-
getTextView
public UITextView getTextView()
-
getContentText
public java.lang.String getContentText()
-
getPlaceholder
public java.lang.String getPlaceholder()
-
setPlaceholder
public void setPlaceholder(java.lang.String v)
-
getCharactersRemaining
public NSNumber getCharactersRemaining()
-
setCharactersRemaining
public void setCharactersRemaining(NSNumber v)
-
getAutoCompletionViewController
public UIViewController getAutoCompletionViewController()
-
setAutoCompletionViewController
public void setAutoCompletionViewController(UIViewController v)
-
presentationAnimationDidFinish
public void presentationAnimationDidFinish()
-
didSelectPost
public void didSelectPost()
-
didSelectCancel
public void didSelectCancel()
-
cancel
public void cancel()
-
isContentValid
public boolean isContentValid()
-
validateContent
public void validateContent()
-
getConfigurationItems
public NSArray<SLComposeSheetConfigurationItem> getConfigurationItems()
-
reloadConfigurationItems
public void reloadConfigurationItems()
-
pushConfigurationViewController
public void pushConfigurationViewController(UIViewController viewController)
-
popConfigurationViewController
public void popConfigurationViewController()
-
loadPreviewView
public UIView loadPreviewView()
-
shouldBeginEditing
public boolean shouldBeginEditing(UITextView textView)
- Specified by:
shouldBeginEditing
in interfaceUITextViewDelegate
-
shouldEndEditing
public boolean shouldEndEditing(UITextView textView)
- Specified by:
shouldEndEditing
in interfaceUITextViewDelegate
-
didBeginEditing
public void didBeginEditing(UITextView textView)
- Specified by:
didBeginEditing
in interfaceUITextViewDelegate
-
didEndEditing
public void didEndEditing(UITextView textView)
- Specified by:
didEndEditing
in interfaceUITextViewDelegate
-
shouldChangeCharacters
public boolean shouldChangeCharacters(UITextView textView, NSRange range, java.lang.String text)
- Specified by:
shouldChangeCharacters
in interfaceUITextViewDelegate
-
didChange
public void didChange(UITextView textView)
- Specified by:
didChange
in interfaceUITextViewDelegate
-
didChangeSelection
public void didChangeSelection(UITextView textView)
- Specified by:
didChangeSelection
in interfaceUITextViewDelegate
-
shouldInteractWithURL
public boolean shouldInteractWithURL(UITextView textView, NSURL URL, NSRange characterRange, UITextItemInteraction interaction)
- Specified by:
shouldInteractWithURL
in interfaceUITextViewDelegate
- Since:
- Available in iOS 10.0 and later.
-
shouldInteractWithTextAttachment
public boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange, UITextItemInteraction interaction)
- Specified by:
shouldInteractWithTextAttachment
in interfaceUITextViewDelegate
- Since:
- Available in iOS 10.0 and later.
-
shouldInteractWithURL
@Deprecated public boolean shouldInteractWithURL(UITextView textView, NSURL URL, NSRange characterRange)
Deprecated.Deprecated in iOS 10.0. Use textView:shouldInteractWithURL:inRange:forInteractionType: instead- Specified by:
shouldInteractWithURL
in interfaceUITextViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
shouldInteractWithTextAttachment
@Deprecated public boolean shouldInteractWithTextAttachment(UITextView textView, NSTextAttachment textAttachment, NSRange characterRange)
Deprecated.Deprecated in iOS 10.0. Use textView:shouldInteractWithTextAttachment:inRange:forInteractionType: instead- Specified by:
shouldInteractWithTextAttachment
in interfaceUITextViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
didScroll
public void didScroll(UIScrollView scrollView)
- Specified by:
didScroll
in interfaceUIScrollViewDelegate
-
didZoom
public void didZoom(UIScrollView scrollView)
- Specified by:
didZoom
in interfaceUIScrollViewDelegate
- Since:
- Available in iOS 3.2 and later.
-
willBeginDragging
public void willBeginDragging(UIScrollView scrollView)
- Specified by:
willBeginDragging
in interfaceUIScrollViewDelegate
-
willEndDragging
public void willEndDragging(UIScrollView scrollView, CGPoint velocity, CGPoint targetContentOffset)
- Specified by:
willEndDragging
in interfaceUIScrollViewDelegate
- Since:
- Available in iOS 5.0 and later.
-
didEndDragging
public void didEndDragging(UIScrollView scrollView, boolean decelerate)
- Specified by:
didEndDragging
in interfaceUIScrollViewDelegate
-
willBeginDecelerating
public void willBeginDecelerating(UIScrollView scrollView)
- Specified by:
willBeginDecelerating
in interfaceUIScrollViewDelegate
-
didEndDecelerating
public void didEndDecelerating(UIScrollView scrollView)
- Specified by:
didEndDecelerating
in interfaceUIScrollViewDelegate
-
didEndScrollingAnimation
public void didEndScrollingAnimation(UIScrollView scrollView)
- Specified by:
didEndScrollingAnimation
in interfaceUIScrollViewDelegate
-
getViewForZooming
public UIView getViewForZooming(UIScrollView scrollView)
- Specified by:
getViewForZooming
in interfaceUIScrollViewDelegate
-
willBeginZooming
public void willBeginZooming(UIScrollView scrollView, UIView view)
- Specified by:
willBeginZooming
in interfaceUIScrollViewDelegate
- Since:
- Available in iOS 3.2 and later.
-
didEndZooming
public void didEndZooming(UIScrollView scrollView, UIView view, double scale)
- Specified by:
didEndZooming
in interfaceUIScrollViewDelegate
-
shouldScrollToTop
public boolean shouldScrollToTop(UIScrollView scrollView)
- Specified by:
shouldScrollToTop
in interfaceUIScrollViewDelegate
-
didScrollToTop
public void didScrollToTop(UIScrollView scrollView)
- Specified by:
didScrollToTop
in interfaceUIScrollViewDelegate
-
scrollViewDidChangeAdjustedContentInset
public void scrollViewDidChangeAdjustedContentInset(UIScrollView scrollView)
- Specified by:
scrollViewDidChangeAdjustedContentInset
in interfaceUIScrollViewDelegate
- Since:
- Available in iOS 11.0 and later.
-
-