Class MessageFasteningManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAMESPACE  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void announceSupport()
      Announce support for Message Fastening via Service Discovery.
      static MessageFasteningManager getInstanceFor​(org.jivesoftware.smack.XMPPConnection connection)  
      static void setEnabledByDefault​(boolean enabled)
      Enable or disable auto-announcing support for Message Fastening.
      void stopAnnouncingSupport()
      Stop announcing support for Message Fastening.
      • Methods inherited from class org.jivesoftware.smack.Manager

        connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstanceFor

        public static MessageFasteningManager getInstanceFor​(org.jivesoftware.smack.XMPPConnection connection)
      • setEnabledByDefault

        public static void setEnabledByDefault​(boolean enabled)
        Enable or disable auto-announcing support for Message Fastening. Default is enabled.
        Parameters:
        enabled - enabled
      • announceSupport

        public void announceSupport()
        Announce support for Message Fastening via Service Discovery.
      • stopAnnouncingSupport

        public void stopAnnouncingSupport()
        Stop announcing support for Message Fastening.