Freigeben über


DynamicRangeProfiles.IsExtraLatencyPresent(Int64) Method

Definition

Check whether a given dynamic range profile is suitable for latency sensitive use cases.

[Android.Runtime.Register("isExtraLatencyPresent", "(J)Z", "", ApiSince=33)]
public bool IsExtraLatencyPresent (long profile);
[<Android.Runtime.Register("isExtraLatencyPresent", "(J)Z", "", ApiSince=33)>]
member this.IsExtraLatencyPresent : int64 -> bool

Parameters

profile
Int64

Returns

true if the given profile is not suitable for latency sensitive use cases, false otherwise

Attributes

Remarks

Check whether a given dynamic range profile is suitable for latency sensitive use cases.

Due to internal lookahead logic, camera outputs configured with some dynamic range profiles may experience additional latency greater than 3 buffers. Using camera outputs with such profiles for latency sensitive use cases such as camera preview is not recommended. Profiles that have such extra streaming delay are typically utilized for scenarios such as offscreen video recording.

Java documentation for android.hardware.camera2.params.DynamicRangeProfiles.isExtraLatencyPresent(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to