Class Info |
|---|
public class InteractionArg implements Parcelable 定义Modem交互接口参数类。android.os.Parcelable接口的实现类。 |
Method |
|---|
public int getType() 获取本次请求操作类型。 |
Returns
Type | Description |
|---|---|
int | 请求的操作类型,取值范围为:NotifyType和StateType。 |
Method |
|---|
public void setType(int type) 设置本次请求的操作类型。 |
Parameters
Name | Description |
|---|---|
type | 本次请求的操作类型,取值范围为:NotifyType和StateType。 |
Method |
|---|
public void setSn(int sn) 设置本次请求的编号。 |
Parameters
Name | Description |
|---|---|
sn | 请求编号,每一次与modem的交互请求对应一个唯一的编号。 |
Method |
|---|
public Object getArgs() 获取本次请求的业务参数。 |
Returns
Type | Description |
|---|---|
Object | 获取本次请求的业务参数。 |
Method |
|---|
public void setArgs(Object args) 设置本次请求的业务参数。 |
Parameters
Name | Description |
|---|---|
args | 请求的业务参数。
|