Class sap.ui.base.InterfaceModule: sap/ui/base/Interface
A class that creates an Interface for an existing class. If a class returns the interface in its constructor, only the defined functions will be visible, no internals of the class can be accessed.
new sap.ui.base.Interface(oObject, aMethods)
Constructs an instance of sap.ui.base.Interface which restricts access to methods marked as public.
|sap.ui.base.Object||oObject||the instance that needs an interface created|
|[object Object]||aMethods||the names of the methods, that should be available on this interface|