fun initialize(args: Array<String> = emptyArray(), remoteDebugPort: Int = -1, action: SKryptonApp.() -> Unit = {}): SKryptonApp
Initializes the native components.
args
- Arguments to pass to the native components, recommended to just pass the array
received from the main function. Default is an empty array.
remoteDebugPort
- The remote debug port is initialized if given a valid value from 0 to 65535
and that the port is not previously occupied. Default is -1 (Not initialized).
action
- Action to be executed with the SKryptonApp instance as its receiver.
Return
SKryptonApp instance (Can be used to chain exec function).