Google. Android. PerformanceTuner. Result< T >
表示操作返回的值,以及关联的错误代码。
摘要
详细信息 | |||
---|---|---|---|
模板参数 |
|
公共属性 |
|
---|---|
errorCode
|
readonly ErrorCode
引发此结果的操作返回的错误代码。
|
value
|
readonly T
引发此结果的操作返回的值。
|
公共函数 |
|
---|---|
Result(ErrorCode errorCode, T result)
|
Create a result with the given value and the associated error code. |
公共属性
value
readonly T value
引发此结果的操作返回的值。