---
title: 初始化指令流引擎对象
description: "初始化指令流引擎对象，提供接口调用。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcps/boostcph/instrucstreamengine/kunpengcpsinstruction_16_0013.html
sourcePath: /source/zh/kunpengcps/boostcph/instrucstreamengine/kunpengcpsinstruction_16_0013.html
indexId: cbea0d6e9785239b2dfce2c57c86b706f67548f705c53535b09d298e4770ef1285
---
# 初始化指令流引擎对象

#### 场景介绍

初始化指令流引擎对象，提供接口调用。


#### 开发流程

1. 新建一个指令流引擎对象。
2. 新建一个指令流引擎JNI回调对象。


#### 编码实例

```
public class Activity implements NativeListener {
    private InstructionEngine engine = new InstructionEngine();
    private JniCallback jniCallback = new JniCallback();
}
```
