Class Info |
|---|
HapticsKitAdapter HapticsKit类初始化成功后返回的Adapter类,该类中提供与手机线性马达服务进行通信的接口。 |
Qualifier and Type | Method Name and Description |
|---|---|
public void | setParameter(String type) 设置线性马达振动参数。 |
public String | getParameter(String command) 获得线性马达振动能力。 |
Parameters
Name | Description |
|---|---|
type | 适配参数如下:
|
Name | Description |
|---|---|
command | 查询等级目前适配了两个参数: |
Returns
Type | Description |
|---|---|
String |
|