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

#### 场景介绍

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


#### 开发流程

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


#### 编码实例

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