| 包: | dji.v5.manager.mop |
classSince MSDK 5.3.0
DataResult
管道读写结果类。可以获取管道读取和写入以后的结果状态。
描述:
method
method
getLength
int getLength() |
获取管道读取和写入的数据长度。
返回值
| 类型 | 说明 |
|---|---|
int | 返回管道读取和写入的数据长度。 |
method
method
getError
IDJIError getError() |
获取管道读取和写入的结果状态。读取和写入成功则返回NULL,否则会返回错误码。
返回值
| 类型 | 说明 |
|---|---|
IDJIError | 返回管道读取和写入的结果状态。 |