public class LegacyResultMapper extends Object
Constructor and Description |
---|
LegacyResultMapper() |
Modifier and Type | Method and Description |
---|---|
CameraMetadataNative |
cachedConvertResultMetadata(LegacyRequest legacyRequest,
long timestamp)
Generate capture result metadata from the legacy camera request.
|
public CameraMetadataNative cachedConvertResultMetadata(LegacyRequest legacyRequest, long timestamp)
This method caches and reuses the result from the previous call to this method if
the parameters
of the subsequent LegacyRequest
passed to this method
have not changed.
legacyRequest
- a non-null
legacy request containing the latest parameterstimestamp
- the timestamp to use for this result in nanoseconds.CameraMetadataNative
object containing result metadata.