Class MSMessagesAppViewController

    • Constructor Detail

      • MSMessagesAppViewController

        protected MSMessagesAppViewController​(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)
      • 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)
      • 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()
      • activeConversation

        public MSConversation activeConversation()
        [@property] activeConversation Current active conversation.
      • didBecomeActiveWithConversation

        public void didBecomeActiveWithConversation​(MSConversation conversation)
        didBecomeActiveWithConversation: Called when the extension has become active.
        Parameters:
        conversation - The current conversation.
      • didCancelSendingMessageConversation

        public void didCancelSendingMessageConversation​(MSMessage message,
                                                        MSConversation conversation)
        didCancelSendingMessage:conversation: Informs the extension that the user has removed the message from the input field. This method will not be called when the `presentationStyle` is MSMessagesAppPresentationStyleTranscript or the `presentationContext` is `MSMessagesAppPresentationContextMedia`.
        Parameters:
        message - The message sent.
        conversation - The conversation.
      • didReceiveMessageConversation

        public void didReceiveMessageConversation​(MSMessage message,
                                                  MSConversation conversation)
        didReceiveMessage:conversation: Informs the extension that a new message has arrived. This method will not be called when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript` or the `presentationContext` is `MSMessagesAppPresentationContextMedia`.
        Parameters:
        message - The message received.
        conversation - The conversation.
      • didResignActiveWithConversation

        public void didResignActiveWithConversation​(MSConversation conversation)
        didResignActiveWithConversation: Called when the extension has resigned active.
        Parameters:
        conversation - The current conversation.
      • didSelectMessageConversation

        public void didSelectMessageConversation​(MSMessage message,
                                                 MSConversation conversation)
        didSelectMessage:conversation: Informs the extension that a new message has been selected in the conversation. This method will not be called when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript` or the `presentationContext` is `MSMessagesAppPresentationContextMedia`.
        Parameters:
        message - The message selected.
        conversation - The conversation.
      • didStartSendingMessageConversation

        public void didStartSendingMessageConversation​(MSMessage message,
                                                       MSConversation conversation)
        didStartSendingMessage:conversation: Informs the extension that the message send has been triggered. This is called when a user interaction with Messages start the message send process. It does not guarantee the message will be successfully sent or delivered. This method will not be called when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript` or the `presentationContext` is `MSMessagesAppPresentationContextMedia`.
        Parameters:
        message - The message being sent.
        conversation - The conversation the message belongs to.
      • didTransitionToPresentationStyle

        public void didTransitionToPresentationStyle​(long presentationStyle)
        didTransitionToPresentationStyle: Called when the extension finished transitioning to a presentation style. This method will not be called when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript`.
        Parameters:
        presentationStyle - The new presentation style.
      • dismiss

        public void dismiss()
        dismiss Tells Messages to dismiss the extension and present the keyboard. Calling this method does nothing when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript`.
      • initWithNibNameBundle

        public MSMessagesAppViewController initWithNibNameBundle​(java.lang.String nibNameOrNil,
                                                                 NSBundle nibBundleOrNil)
        Description copied from class: UIViewController
        The designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.
        Overrides:
        initWithNibNameBundle in class UIViewController
      • presentationStyle

        public long presentationStyle()
        [@property] presentationStyle Get the presentation extension's current presentation style.
      • requestPresentationStyle

        public void requestPresentationStyle​(long presentationStyle)
        requestPresentationStyle: Requests that Messages transition the extension to the specified presentation style. When the current `presentationStyle` is `MSMessagesAppPresentationStyleTranscript`, a new instance of `MSMessagesAppViewController` will be instantiated with the requested presentation style if needed.
        Parameters:
        presentationStyle - The presentation style to transition to. `MSMessagesAppPresentationStyleTranscript` is not a valid presentation style to request.
      • willBecomeActiveWithConversation

        public void willBecomeActiveWithConversation​(MSConversation conversation)
        willBecomeActiveWithConversation: Called when the extension is about to become active.
        Parameters:
        conversation - The current conversation.
      • willResignActiveWithConversation

        public void willResignActiveWithConversation​(MSConversation conversation)
        willResignActiveWithConversation: Called when the extension will resign active.
        Parameters:
        conversation - The current conversation.
      • willSelectMessageConversation

        public void willSelectMessageConversation​(MSMessage message,
                                                  MSConversation conversation)
        willSelectMessage:conversation: Informs the extension that a new message will be selected in the conversation. This method will not be called when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript` or the `presentationContext` is `MSMessagesAppPresentationContextMedia`.
        Parameters:
        message - The message selected.
        conversation - The conversation.
      • willTransitionToPresentationStyle

        public void willTransitionToPresentationStyle​(long presentationStyle)
        willTransitionToPresentationStyle: Called when the extension is about to transition to a new presentation style. This method will not be called when the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript`.
        Parameters:
        presentationStyle - The new presentation style.
      • presentationContext

        public long presentationContext()
        [@property] presentationContext The context for which the extension was launched