Interface PrivateDataProvider

  • All Known Implementing Classes:

    public interface PrivateDataProvider
    An interface for parsing custom private data. Each PrivateDataProvider must be registered with the PrivateDataManager class for it to be used. Every implementation of this interface must have a public, no-argument constructor.
    • Method Detail

      • parsePrivateData

        PrivateData parsePrivateData​(XmlPullParser parser)
                              throws XmlPullParserException,
        Parse the private data sub-document and create a PrivateData instance. At the beginning of the method call, the xml parser will be positioned at the opening tag of the private data child element. At the end of the method call, the parser must be positioned on the closing tag of the child element.
        parser - an XML parser.
        a new PrivateData instance.
        XmlPullParserException - if an error in the XML parser occurred.
        IOException - if an I/O error occurred.