Class GcmPacketExtension

    • Method Detail

      • getNamespace

        public java.lang.String getNamespace()
        Description copied from interface: FullyQualifiedElement
        Returns the root element XML namespace.
        Returns:
        the namespace.
      • getElementName

        public java.lang.String getElementName()
        Description copied from interface: NamedElement
        Returns the root element name.
        Returns:
        the element name.
      • from

        public static GcmPacketExtension from​(Stanza packet)
        Retrieve the GCM stanza extension from the packet.
        Parameters:
        packet - TODO javadoc me please
        Returns:
        the GCM stanza extension or null.