register
Call this method to start registration.The method should be called at the first beginning.
By calling this method you will know the login type RegistrationCallback.LoginType. After knowing the login type you need to call the right method according to login type
Parameters
Context: The application context
String:It can be the phone number in international format or a user identifier
String:The organisation id
RegistrationCallback:A callback to inform about the login type RegistrationCallback.LoginType.Possible errors may be returned please see STWAccountError
Call this method to start registration with only companyId . The method should be called at the first beginning.
Parameters
Context: The application context
String:The organisation id
RegistrationCallback:A callback to inform about the login type RegistrationCallback.LoginType.Possible errors may be returned please see STWAccountError