Every Isah Mobile function must be registered through the interface IMobileCustomizingInterface. This interface must be implemented in a class in the custom assembly. The definition of the interface is as follows:
Public Interface IMobileCustomizingInterface
Function GetMinIsahMobileVersion() As System.Version
Function GetAuthor() As String
Function GetCustomerName() As String
Sub RegisterMobileFunctions()
End Interface
All methods must be implemented in the class.
The GetMinIsahMobileFunction() method must return the minimum Isah Mobile version that can be used with the custom assembly. This allows you to enforce a minimum Isah Mobile version.
Use the GetAuthor method to return the author of the custom assembly.
The GetCustomerName() method is called by the Isah Mobile application to retrieve the customer name. This is displayed in the info form of the Isah Mobile application.
The RegisterMobileFunctions() method can be used to register one or more functions. An instance of a function class and an instance of a form class must be created, and these instances must be added to the FunctionList of the Isah Mobile application. This could look similar to the following (example in VB.NET code):
Dim FrmNewFunc As New FrmMyNewFunction()
Dim funcNewFunc As New classMyNewFunction("cfNewFunc", "function", FrmNewFunc)
IsahMobileApp.FunctionList.AddFunction(funcNewFunc)