我要评分
获取效率
正确性
完整性
易理解

Calling the initialize API of the Instruction Stream Engine Object

Application Scenario

Initialize the instruction stream engine and transfer the IP address, port number, and server-side cloud phone resolution.

Prerequisites

An instruction stream engine object has been created.

Development Process

Call the initialize API of the instruction stream engine.

Encoding Instance

public class Activity implements BaseActivity {
    protected void onCreate(Bundle savedInstanceState) {
        int initResult = engine.initialize();
        if (initResult != InstructionEngine.VMI_SUCCESS) {
           // The initialization fails. Exit the processing.
        } 
     }
}