Method signature
SDK initialization. Must be called before calling any method (both when launching applications for the first time and when doing internal transitions across the frame).
Where:
- apiServer - API server address. Can be acquired with FAPI.Util.getRequestParameters method;
- apiConnection - API connection identifier. Can be acquired with FAPI.Util.getRequestParameters method;
- onSuccess - callback function that will be invoked after a successful SDK initialization;
- onError - callback function that will be invoked after a failed SDK initialization.