Class RhinoManager.Builder

  • Enclosing class:
    RhinoManager

    public static class RhinoManager.Builder
    extends java.lang.Object
    Builder for creating an instance of RhinoManager with a mixture of default arguments
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public RhinoManager build​(android.content.Context context,
                                  RhinoManagerCallback callback)
                           throws RhinoException
        Creates an instance of RhinoManager.
        Parameters:
        context - Android app context (for extracting Rhino resources)
        callback - A callback function that is invoked upon intent inference.
        Returns:
        A RhinoManager instance
        Throws:
        RhinoException - if there is an error while initializing Rhino.