目录

ActionStateCallback.ParametersResult

Class Info

模式参数设置操作的结果数据。

Since:

2019-07-30

Nested Class Summary

Modifier and Type

Class and Description

static interface

ActionStateCallback.ParametersResult.State

模式参数设置操作的回调状态。

Public Method Summary

Modifier and Type

Method and Description

java.util.List<android.hardware.camera2.CaptureResult.Key<?>>

getAvailableResultKeys()

获取参数结果中可用的Result Key。

<T> T

getResultValue(android.hardware.camera2.CaptureResult.Key<T> key)

获取指定Result Key的值。

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Public Methods

[h2]getAvailableResultKeys

Method

public java.util.List<android.hardware.camera2.CaptureResult.Key<?>> getAvailableResultKeys()

获取参数结果中可用的Result Key。

Result Key用于描述指定参数的结果。

Returns:

Type

Description

java.util.List<android.hardware.camera2.CaptureResult.Key<?>>

支持的Result Key列表。

[h2]getResultValue

Method

public <T> T getResultValue(android.hardware.camera2.CaptureResult.Key<T> key)

获取指定Result Key的值。

Parameters:

Type Parameter Name

Type Parameter Description

T

值的类型。

Parameters:

Parameter Name

Parameter Description

key

指定的Result Key。

Returns:

Type

Description

<T> T

Result Key对应的值。